Class: KDL::Types::IPV4

Inherits:
IP show all
Defined in:
lib/kdl/types/ip.rb

Constant Summary

Constants inherited from Value

Value::Null

Instance Attribute Summary

Attributes inherited from Value

#format, #type, #value

Class Method Summary collapse

Methods inherited from IP

call, valid_ip?

Methods inherited from Value

#as_type, from, #initialize, #stringify_value, #to_s

Constructor Details

This class inherits a constructor from KDL::Value

Class Method Details

.ip_typeObject



19
20
21
# File 'lib/kdl/types/ip.rb', line 19

def self.ip_type
  'ipv4'
end