Module: Rake

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

Defined Under Namespace

Classes: Application

Constant Summary collapse

RC_FILES =
'.rubyrc', '.ruby'

Class Method Summary collapse

Class Method Details

.load_rakefile(path) ⇒ Object



20
21
22
23
24
25
26
27
# File 'lib/rc/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