Class: Pack::Record
- Inherits:
-
Struct
- Object
- Struct
- Pack::Record
- Defined in:
- lib/pack.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#oid ⇒ Object
Returns the value of attribute oid.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
36 37 38 |
# File 'lib/pack.rb', line 36 def data @data end |
#oid ⇒ Object
Returns the value of attribute oid.
37 38 39 |
# File 'lib/pack.rb', line 37 def oid @oid end |
#type ⇒ Object
Returns the value of attribute type
36 37 38 |
# File 'lib/pack.rb', line 36 def type @type end |
Instance Method Details
#to_s ⇒ Object
39 40 41 |
# File 'lib/pack.rb', line 39 def to_s data end |