Module: Providence

Defined in:
lib/providence/eye.rb,
lib/providence/base_watchr.rb,
lib/providence/rspec_watchr.rb,
lib/providence/cucumber_watchr.rb,
lib/providence/event_handlers/darwin.rb,
bin/prov

Defined Under Namespace

Modules: EventHandler Classes: BaseWatchr, CucumberWatchr, Eye, RspecWatchr

Class Method Summary collapse

Class Method Details

.find_watchr_fileObject



10
11
12
13
14
15
16
# File 'bin/prov', line 10

def Providence.find_watchr_file
  if File.exists?(File.join(Dir.pwd, '.watchr'))
    File.join(Dir.pwd, '.watchr')
  else
    File.join(File.dirname(__FILE__), '..', 'watchrs', 'rails.watchr')
  end
end