diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-21 04:50:18 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-21 04:50:18 +0000 |
commit | d059d718b505bacbf7af6e9c473eb95391d481d0 (patch) | |
tree | 7d4cdd7df6c1fd25a31f88df68c52ad4cbda5e05 /lib/ipaddr.rb | |
parent | 9bb6a05283ce7f3deb57c707b16c60b43abd3e97 (diff) |
remove trainling spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/ipaddr.rb')
-rw-r--r-- | lib/ipaddr.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ipaddr.rb b/lib/ipaddr.rb index b6bea19832..716ccaad40 100644 --- a/lib/ipaddr.rb +++ b/lib/ipaddr.rb @@ -392,7 +392,7 @@ class IPAddr return self end - # Set current netmask to given mask. + # Set current netmask to given mask. def mask!(mask) if mask.kind_of?(String) if mask =~ /^\d+$/ @@ -626,7 +626,7 @@ unless Socket.const_defined? "AF_INET6" # Returns a +String+ based representation of a valid DNS hostname, # IPv4 or IPv6 address. - # + # # IPSocket.getaddress 'localhost' #=> "::1" # IPSocket.getaddress 'broadcasthost' #=> "255.255.255.255" # IPSocket.getaddress 'www.ruby-lang.org' #=> "221.186.184.68" |