Module: Rake

Defined in:
lib/courtier/tweaks/rake.rb

Defined Under Namespace

Classes: Application

Constant Summary collapse

RC_FILES =
'.config.rb', 'config.rb', 'Config.rb'

Class Method Summary collapse

Class Method Details

.load_rakefile(path) ⇒ Object



20
21
22
23
24
25
26
27
# File 'lib/courtier/tweaks/rake.rb', line 20

def self.load_rakefile(path)
  case File.basename(path)
  when *RC_FILES
    # do nothing, RC will do it
  else
    load(path)
  end
end