123456789_123456789_123456789_123456789_123456789_

Class: Rake::DefaultLoader

Relationships & Source Files
Inherits: Object
Defined in: lib/rake/default_loader.rb

Overview

Default Rakefile loader used by import.

Instance Method Summary

  • #load(fn)

    Loads a rakefile into the current application from fn

Instance Method Details

#load(fn)

Loads a rakefile into the current application from fn

[ GitHub ]

  
# File 'lib/rake/default_loader.rb', line 10

def load(fn)
  Rake.load_rakefile(File.expand_path(fn))
end