Module: RTor::Primitives::IPv4Address0

Defined in:
lib/rtor/primitives_parser.rb

Instance Method Summary collapse

Instance Method Details

#IPv4Byte1Object



875
876
877
# File 'lib/rtor/primitives_parser.rb', line 875

def IPv4Byte1
  elements[0]
end

#IPv4Byte2Object



879
880
881
# File 'lib/rtor/primitives_parser.rb', line 879

def IPv4Byte2
  elements[2]
end

#IPv4Byte3Object



883
884
885
# File 'lib/rtor/primitives_parser.rb', line 883

def IPv4Byte3
  elements[4]
end

#IPv4Byte4Object



887
888
889
# File 'lib/rtor/primitives_parser.rb', line 887

def IPv4Byte4
  elements[6]
end