Permalink
Browse files

Introduce Bunny::Transport#local_address

  • Loading branch information...
1 parent 0ecd120 commit fe53b5e115eb95a2236920ba48082b44fb3215ec Michael Klishin committed Feb 5, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/bunny/transport.rb
View
@@ -55,6 +55,10 @@ def hostname
@host
end
+ def local_address
+ @socket.local_address
+ end
+
def uses_tls?
@tls_enabled
end

0 comments on commit fe53b5e

Please sign in to comment.