Class: Molflow::Application
- Inherits:
-
Rake::Application
- Object
- Rake::Application
- Molflow::Application
- Defined in:
- lib/molflow/application.rb
Instance Method Summary collapse
-
#initialize ⇒ Application
constructor
A new instance of Application.
-
#rakefile ⇒ Object
allows the ‘cap install` task to load without a capfile.
- #run ⇒ Object
Constructor Details
#initialize ⇒ Application
Returns a new instance of Application.
3 4 5 6 |
# File 'lib/molflow/application.rb', line 3 def initialize super @rakefiles = %w{Capfile} << rakefile end |
Instance Method Details
#rakefile ⇒ Object
allows the ‘cap install` task to load without a capfile
14 15 16 |
# File 'lib/molflow/application.rb', line 14 def rakefile File.(File.join(File.dirname(__FILE__),'..','Rakefile')) end |
#run ⇒ Object
8 9 10 11 |
# File 'lib/molflow/application.rb', line 8 def run Rake.application = self super end |