Class: Avm::Data::Package::Dump
- Inherits:
-
BasePerformer
- Object
- BasePerformer
- Avm::Data::Package::Dump
- Includes:
- BuildDirectory
- Defined in:
- lib/avm/data/package/dump.rb
Instance Attribute Summary collapse
-
#target_path ⇒ Object
readonly
Returns the value of attribute target_path.
Instance Method Summary collapse
-
#initialize(package, target_path, options = {}) ⇒ Dump
constructor
A new instance of Dump.
- #result ⇒ void
Methods inherited from BasePerformer
#excludes, #includes, #selected_units
Constructor Details
#initialize(package, target_path, options = {}) ⇒ Dump
Returns a new instance of Dump.
17 18 19 20 |
# File 'lib/avm/data/package/dump.rb', line 17 def initialize(package, target_path, = {}) super(package, ) @target_path = target_path.to_pathname end |
Instance Attribute Details
#target_path ⇒ Object (readonly)
Returns the value of attribute target_path.
15 16 17 |
# File 'lib/avm/data/package/dump.rb', line 15 def target_path @target_path end |
Instance Method Details
#result ⇒ void
This method returns an undefined value.
23 24 25 26 27 28 |
# File 'lib/avm/data/package/dump.rb', line 23 def result on_build_directory do dump_units_to_build_directory create_package_file end end |