summaryrefslogtreecommitdiff
path: root/ext/socket/lib/socket.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-11 00:59:30 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-11 00:59:30 +0000
commitb8147c444b70e0e07dcd3c90e3af76ff28f65602 (patch)
tree9d330fae6f2fe08a84d12821a94c452184c4c5aa /ext/socket/lib/socket.rb
parentbb4abd612e912a9b9dfc3cba7f6d8bda508fe0b7 (diff)
* ext/socket/lib/socket.rb (Socket::UDPSource#inspect): fix variable
name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/lib/socket.rb')
-rw-r--r--ext/socket/lib/socket.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/lib/socket.rb b/ext/socket/lib/socket.rb
index ff5fb088daa..0981b12edc3 100644
--- a/ext/socket/lib/socket.rb
+++ b/ext/socket/lib/socket.rb
@@ -554,7 +554,7 @@ class Socket
attr_reader :remote_address, :local_address
def inspect
- "\#<#{self.class}: #{@sender.inspect_sockaddr} to #{@receiver.inspect_sockaddr}>"
+ "\#<#{self.class}: #{@remote_address.inspect_sockaddr} to #{@local_address.inspect_sockaddr}>"
end
def reply(msg)