lib/bunny/session.rb in bunny-0.9.0.pre12 vs lib/bunny/session.rb in bunny-0.9.0.pre13
- old
+ new
@@ -646,10 +646,10 @@
end # send_frameset_without_timeout(frames)
# @return [String]
# @api public
def to_s
- "Bunny::Session #{@user}@#{@host}:#{@port}, vhost=#{@vhost}"
+ "#<#{self.class.name}:#{object_id} #{@user}@#{@host}:#{@port}, vhost=#{@vhost}>"
end
protected
# @api private