Class: PacketGen::Header::DHCP::Pad
- Inherits:
-
End
- Object
- Types::Int
- Types::Int8
- End
- PacketGen::Header::DHCP::Pad
- Defined in:
- lib/packetgen/header/dhcp/option.rb
Overview
Class to indicate padding after DHCP options
Instance Attribute Summary
Attributes inherited from Types::Int
#default, #endian, #value, #width
Instance Method Summary collapse
-
#initialize(value = 0) ⇒ Pad
constructor
A new instance of Pad.
Methods inherited from End
Methods inherited from Types::Int
#format_inspect, #nbits, #read, #sz, #to_f, #to_i, #to_s
Methods included from Types::Fieldable
#format_inspect, #read, #sz, #to_human, #to_s, #type_name
Constructor Details
#initialize(value = 0) ⇒ Pad
Returns a new instance of Pad.
118 119 120 |
# File 'lib/packetgen/header/dhcp/option.rb', line 118 def initialize(value=0) super end |