Class: Rake::DefaultLoader

Inherits:
Object show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/default_loader.rb

Overview

Default Rakefile loader used by import.

Instance Method Summary collapse

Instance Method Details

#load(fn) ⇒ Object

Loads a rakefile into the current application from fn



10
11
12
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/default_loader.rb', line 10

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