ruby-changes:28179
From: nobu <ko1@a...>
Date: Thu, 11 Apr 2013 11:31:13 +0900 (JST)
Subject: [ruby-changes:28179] nobu:r40231 (ruby_1_9_3): * remove trailing spaces.
nobu 2013-04-11 11:31:05 +0900 (Thu, 11 Apr 2013) New Revision: 40231 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40231 Log: * remove trailing spaces. Modified files: branches/ruby_1_9_3/lib/ipaddr.rb Index: ruby_1_9_3/lib/ipaddr.rb =================================================================== --- ruby_1_9_3/lib/ipaddr.rb (revision 40230) +++ ruby_1_9_3/lib/ipaddr.rb (revision 40231) @@ -392,7 +392,7 @@ class IPAddr https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/lib/ipaddr.rb#L392 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+$/ @@ -627,7 +627,7 @@ unless Socket.const_defined? "AF_INET6" https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/lib/ipaddr.rb#L627 # 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" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/