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
35 36 37 |
# File 'lib/pack.rb', line 35 def data @data end |
#oid ⇒ Object
Returns the value of attribute oid.
36 37 38 |
# File 'lib/pack.rb', line 36 def oid @oid end |
#type ⇒ Object
Returns the value of attribute type
35 36 37 |
# File 'lib/pack.rb', line 35 def type @type end |
Instance Method Details
#to_s ⇒ Object
38 39 40 |
# File 'lib/pack.rb', line 38 def to_s data end |