Class: Conjure::Service::RakeTask
- Inherits:
-
Object
- Object
- Conjure::Service::RakeTask
- Defined in:
- lib/conjure/service/rake_task.rb
Instance Method Summary collapse
-
#initialize(options, &block) ⇒ RakeTask
constructor
A new instance of RakeTask.
Constructor Details
#initialize(options, &block) ⇒ RakeTask
Returns a new instance of RakeTask.
4 5 6 7 8 |
# File 'lib/conjure/service/rake_task.rb', line 4 def initialize(, &block) task = [:task] shell = [:shell] shell.command("cd application_root; bundle exec rake #{task}", &block) end |