Exception: Workling::ConfigurationError

Inherits:
WorklingError
  • Object
show all
Defined in:
lib/workling.rb

Instance Method Summary collapse

Constructor Details

#initializeConfigurationError

Returns a new instance of ConfigurationError.



15
16
17
18
19
# File 'lib/workling.rb', line 15

def initialize
  super File.exist?(File.join(RAILS_ROOT, 'config', 'starling.yml')) ? 
    "config/starling.yml has been depracated. rename your config file to config/workling.yml then try again!" :
    "config/workling.yml could not be loaded. check out README.markdown to see what this file should contain. "
end