class Construqt::Addresses::CqIpAddress
hier frieht die hoelle zu!!!
Attributes
container[R]
ipaddr[R]
Public Class Methods
new(ipaddr, container)
click to toggle source
# File lib/construqt/addresses.rb, line 25 def initialize(ipaddr, container) @ipaddr = ipaddr @container = container end
Public Instance Methods
address()
click to toggle source
# File lib/construqt/addresses.rb, line 71 def address @ipaddr.address end
compressed()
click to toggle source
# File lib/construqt/addresses.rb, line 65 def compressed @ipaddr.compressed end
first()
click to toggle source
# File lib/construqt/addresses.rb, line 56 def first @ipaddr.first end
groups()
click to toggle source
# File lib/construqt/addresses.rb, line 62 def groups @ipaddr.groups end
include?(a)
click to toggle source
# File lib/construqt/addresses.rb, line 35 def include?(a) @ipaddr.include?(a) end
ipv4?()
click to toggle source
# File lib/construqt/addresses.rb, line 29 def ipv4? @ipaddr.ipv4? end
ipv6?()
click to toggle source
# File lib/construqt/addresses.rb, line 32 def ipv6? @ipaddr.ipv6? end
last()
click to toggle source
# File lib/construqt/addresses.rb, line 59 def last @ipaddr.last end
netmask()
click to toggle source
# File lib/construqt/addresses.rb, line 74 def netmask @ipaddr.netmask end
network()
click to toggle source
# File lib/construqt/addresses.rb, line 41 def network @ipaddr.network end
prefix()
click to toggle source
# File lib/construqt/addresses.rb, line 38 def prefix @ipaddr.prefix end
reverse()
click to toggle source
# File lib/construqt/addresses.rb, line 68 def reverse @ipaddr.reverse end
to_i()
click to toggle source
# File lib/construqt/addresses.rb, line 44 def to_i @ipaddr.to_i end
to_s()
click to toggle source
# File lib/construqt/addresses.rb, line 47 def to_s @ipaddr.to_s end
to_string()
click to toggle source
# File lib/construqt/addresses.rb, line 50 def to_string @ipaddr.to_string end
to_u32()
click to toggle source
# File lib/construqt/addresses.rb, line 53 def to_u32 @ipaddr.to_u32 end