instance method
IPAddr#to_i
() -> ::Integer
to_i
lib/ipaddr.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/ipaddr.rb, line 200
def to_i
return @addr
end
Returns the integer representation of the ipaddr.