Class: Avm::Instances::Data::Package
- Inherits:
-
Data::Package
- Object
- Data::Package
- Avm::Instances::Data::Package
- Defined in:
- lib/avm/instances/data/package.rb
Constant Summary
Constants inherited from Data::Package
Data::Package::DATA_FILE_EXTENSION
Instance Attribute Summary collapse
-
#instance ⇒ Object
readonly
Returns the value of attribute instance.
Instance Method Summary collapse
- #data_default_dump_path ⇒ Pathname
-
#initialize(instance, options = {}) ⇒ Package
constructor
A new instance of Package.
Methods inherited from Data::Package
#add_unit, #data_file_extension, #dump_units_to_directory, #load, #load_units_from_directory, #unit, #units, #units_ids
Constructor Details
#initialize(instance, options = {}) ⇒ Package
Returns a new instance of Package.
11 12 13 14 |
# File 'lib/avm/instances/data/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/instances/data/package.rb', line 9 def instance @instance end |
Instance Method Details
#data_default_dump_path ⇒ Pathname
17 18 19 |
# File 'lib/avm/instances/data/package.rb', line 17 def data_default_dump_path instance.data_default_dump_path.to_pathname end |