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::Custom

#oriinal_value

Attributes inherited from Value

#format, #type, #value

Class Method Summary collapse

Methods inherited from IP

call, valid_ip?

Methods inherited from Value::Custom

call, #to_v1, #to_v2, #version

Methods inherited from Value

#==, #as_type, from, #initialize, #inspect, #method_missing, #respond_to_missing?, #stringify_value, #to_s, #to_v2, #version

Constructor Details

This class inherits a constructor from KDL::Value

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class KDL::Value

Class Method Details

.ip_typeObject



21
22
23
# File 'lib/kdl/types/ip.rb', line 21

def self.ip_type
  'ipv4'
end