1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

remove trainling spaces.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-08-21 04:50:18 +00:00
parent 9bb6a05283
commit d059d718b5
24 changed files with 45 additions and 45 deletions

View file

@ -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"