Class: Rake::DefaultLoader
- Inherits:
-
Object
- Object
- Rake::DefaultLoader
- Defined in:
- lib/rake/default_loader.rb
Overview
Default Rakefile loader used by import
.
Instance Method Summary collapse
-
#load(fn) ⇒ Object
Loads a rakefile into the current application from
fn
.
Instance Method Details
#load(fn) ⇒ Object
Loads a rakefile into the current application from fn
9 10 11 |
# File 'lib/rake/default_loader.rb', line 9 def load(fn) Rake.load_rakefile(File.(fn)) end |