Module: Flucti::Utilities::TaskPacking
- Included in:
- Flucti::Utilities
- Defined in:
- lib/flucti/utilities/task_packing.rb
Instance Method Summary collapse
Instance Method Details
#import_pack(pack, parent, resource_type) ⇒ Object
4 5 6 7 |
# File 'lib/flucti/utilities/task_packing.rb', line 4 def import_pack(pack, parent, resource_type) parent.instance_eval \ "resource_type = #{resource_type.inspect}\n" + File.read(File.dirname(__FILE__) + "/../tasks/#{pack}_pack.rb") end |