Class: DownloadCalabash
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- DownloadCalabash
- Defined in:
- lib/commands/download_calabash.rb
Instance Method Summary collapse
- #after_command ⇒ Object
-
#before_command ⇒ Object
overrides from base class.
- #main_command ⇒ Object
Methods inherited from BaseCommand
#all_commands, #empty?, #initialize, #log_file
Constructor Details
This class inherits a constructor from BaseCommand
Instance Method Details
#after_command ⇒ Object
14 15 |
# File 'lib/commands/download_calabash.rb', line 14 def after_command end |
#before_command ⇒ Object
overrides from base class
6 7 8 |
# File 'lib/commands/download_calabash.rb', line 6 def before_command "cd #{@params.source_root} && rm -rf calabash.framework" if framework? end |
#main_command ⇒ Object
10 11 12 |
# File 'lib/commands/download_calabash.rb', line 10 def main_command "cd #{@params.source_root} && calabash-ios download" end |