Class: Avm::Tools::Runner::Instance::Data::Unit
- Inherits:
-
Object
- Object
- Avm::Tools::Runner::Instance::Data::Unit
show all
- Defined in:
- lib/avm/tools/runner/instance/data/unit.rb,
lib/avm/tools/runner/instance/data/unit/dump.rb,
lib/avm/tools/runner/instance/data/unit/load.rb,
lib/avm/tools/runner/instance/data/unit/clear.rb
Defined Under Namespace
Classes: Clear, Dump, Load
Instance Method Summary
collapse
Instance Method Details
#available_units_ids ⇒ Enumerable<String>
21
22
23
|
# File 'lib/avm/tools/runner/instance/data/unit.rb', line 21
def available_units_ids
data_package.units_ids
end
|
#data_owner ⇒ Avm::Instances::Data::Unit
31
32
33
|
# File 'lib/avm/tools/runner/instance/data/unit.rb', line 31
def data_owner
data_package.unit(parsed.identifier)
end
|
#data_package ⇒ Avm::Instances::Data::Package
26
27
28
|
# File 'lib/avm/tools/runner/instance/data/unit.rb', line 26
def data_package
runner_context.call(:instance).data_package
end
|
36
37
38
|
# File 'lib/avm/tools/runner/instance/data/unit.rb', line 36
def
help_join_sections(super, list_section('Available units', available_units_ids))
end
|