Class: Avm::Data::Instance::Unit
- Defined in:
- lib/avm/data/instance/unit.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#instance ⇒ Object
readonly
Returns the value of attribute instance.
Instance Method Summary collapse
-
#initialize(instance) ⇒ Unit
constructor
A new instance of Unit.
Methods inherited from Unit
#dump, #dump_to_directory, #extension, #load, #load_from_directory, #name
Constructor Details
#initialize(instance) ⇒ Unit
Returns a new instance of Unit.
11 12 13 |
# File 'lib/avm/data/instance/unit.rb', line 11 def initialize(instance) @instance = instance end |
Instance Attribute Details
#instance ⇒ Object (readonly)
Returns the value of attribute instance.
9 10 11 |
# File 'lib/avm/data/instance/unit.rb', line 9 def instance @instance end |