Class: OngrDeploy::Application

Inherits:
Rake::Application
  • Object
show all
Defined in:
lib/ongr_deploy/application.rb

Instance Method Summary collapse

Constructor Details

#initializeApplication

Returns a new instance of Application.



7
8
9
10
11
# File 'lib/ongr_deploy/application.rb', line 7

def initialize
  super

  @rakefiles = [File.expand_path( "../../tasks/ongr_deploy.rake", __FILE__ )]
end

Instance Method Details

#runObject



13
14
15
16
17
# File 'lib/ongr_deploy/application.rb', line 13

def run
  Rake.application = self

  super
end