summaryrefslogtreecommitdiff
path: root/jni/ruby/lib/rake/default_loader.rb
blob: 6154408f44abb0d731184bd19b2da741916d0df6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Rake

  # Default Rakefile loader used by +import+.
  class DefaultLoader

    ##
    # Loads a rakefile into the current application from +fn+

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

end