Class: Avm::Data::Instance::Package
- Defined in:
- lib/avm/data/instance/package.rb
Instance Attribute Summary collapse
-
#instance ⇒ Object
readonly
Returns the value of attribute instance.
Attributes inherited from Package
Instance Method Summary collapse
-
#initialize(instance, options = {}) ⇒ Package
constructor
A new instance of Package.
Methods inherited from Package
#add_unit, #dump, #dump_units_to_directory, #load, #load_units_from_directory
Constructor Details
#initialize(instance, options = {}) ⇒ Package
Returns a new instance of Package.
11 12 13 14 |
# File 'lib/avm/data/instance/package.rb', line 11 def initialize(instance, = {}) @instance = instance super end |
Instance Attribute Details
#instance ⇒ Object (readonly)
Returns the value of attribute instance.
9 10 11 |
# File 'lib/avm/data/instance/package.rb', line 9 def instance @instance end |