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.
14 15 16 17 |
# File 'lib/avm/data/package/dump.rb', line 14 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.
12 13 14 |
# File 'lib/avm/data/package/dump.rb', line 12 def target_path @target_path end |
Instance Method Details
#result ⇒ void
This method returns an undefined value.
20 21 22 23 24 25 |
# File 'lib/avm/data/package/dump.rb', line 20 def result on_build_directory do dump_units_to_build_directory create_package_file end end |