Class: OngrDeploy::Application
- Inherits:
-
Rake::Application
- Object
- Rake::Application
- OngrDeploy::Application
- Defined in:
- lib/ongr_deploy/application.rb
Instance Method Summary collapse
-
#initialize ⇒ Application
constructor
A new instance of Application.
- #run ⇒ Object
Constructor Details
#initialize ⇒ Application
Returns a new instance of Application.
7 8 9 10 11 |
# File 'lib/ongr_deploy/application.rb', line 7 def initialize super @rakefiles = [File.( "../../tasks/ongr_deploy.rake", __FILE__ )] end |
Instance Method Details
#run ⇒ Object
13 14 15 16 17 |
# File 'lib/ongr_deploy/application.rb', line 13 def run Rake.application = self super end |