Class: PacketGen::Header::HeaderClassMethods::Binding
- Defined in:
- lib/packetgen/header/header_class_methods.rb
Overview
Simple class to handle header association
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#value ⇒ Object
Returns the value of attribute value.
Method Summary
Methods inherited from Struct
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key
7 8 9 |
# File 'lib/packetgen/header/header_class_methods.rb', line 7 def key @key end |
#value ⇒ Object
Returns the value of attribute value
7 8 9 |
# File 'lib/packetgen/header/header_class_methods.rb', line 7 def value @value end |