more concise inspect output for Session objects
git-svn-id: file:///home/svn/framework3/trunk@7949 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
89695b40fe
commit
0708798598
|
@ -83,6 +83,13 @@ module Session
|
|||
self.sname = name
|
||||
end
|
||||
|
||||
#
|
||||
# Brief and to the point
|
||||
#
|
||||
def inspect
|
||||
"#<Session:#{self.type} #{self.tunnel_peer}>"
|
||||
end
|
||||
|
||||
#
|
||||
# Returns the description of the session.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue