Class: PacketGen::Header::DHCPv6::ElapsedTime
- Defined in:
- lib/packetgen/header/dhcpv6/option.rb
Overview
DHCPv6 Elapsed Time option
Instance Attribute Summary collapse
-
#value ⇒ Integer
16-bit value.
Attributes inherited from Option
Instance Method Summary collapse
-
#human_data ⇒ String
Get human-readable data (value).
Methods inherited from Option
human_type, initialize, new, subclasses, to_human
Instance Attribute Details
#value ⇒ Integer
16-bit value
266 |
# File 'lib/packetgen/header/dhcpv6/option.rb', line 266 define_attr :value, BinStruct::Int16 |
Instance Method Details
#human_data ⇒ String
Get human-readable data (value)
270 271 272 |
# File 'lib/packetgen/header/dhcpv6/option.rb', line 270 def human_data value.to_s end |