Class: Cartage::PackCommand
- Defined in:
- lib/cartage/pack_command.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(cartage) ⇒ PackCommand
constructor
A new instance of PackCommand.
- #perform ⇒ Object
Methods inherited from Command
Constructor Details
#initialize(cartage) ⇒ PackCommand
Returns a new instance of PackCommand.
3 4 5 6 7 8 |
# File 'lib/cartage/pack_command.rb', line 3 def initialize(cartage) super(cartage, 'pack', takes_commands: false) Cartage.(, cartage) short_desc('Create a package with Cartage based on the Manifest.') end |
Instance Method Details
#perform ⇒ Object
10 11 12 |
# File 'lib/cartage/pack_command.rb', line 10 def perform @cartage.pack end |