Class: Pushapp::Tasks::Rake

Inherits:
Script show all
Defined in:
lib/pushapp/tasks/rake.rb

Instance Attribute Summary

Attributes inherited from Script

#script

Attributes inherited from Base

#logger, #options

Instance Method Summary collapse

Methods inherited from Script

#initialize

Methods inherited from Base

#app_name_from_path, #env, #env_options, #initialize, register_as, #run, #sudo, #system

Constructor Details

This class inherits a constructor from Pushapp::Tasks::Script

Instance Method Details

#cmdObject



6
7
8
# File 'lib/pushapp/tasks/rake.rb', line 6

def cmd
  [env, "rake #{script}"]
end

#inspectObject



10
11
12
# File 'lib/pushapp/tasks/rake.rb', line 10

def inspect
  "rake: #{script}"
end