Class: Autorake
- Inherits:
-
Object
- Object
- Autorake
- Defined in:
- lib/version.rb,
lib/autorake.rb
Defined Under Namespace
Classes: Version
Instance Method Summary collapse
-
#initialize(configFilePath) ⇒ Autorake
constructor
A new instance of Autorake.
Constructor Details
#initialize(configFilePath) ⇒ Autorake
Returns a new instance of Autorake.
4 5 6 7 8 9 |
# File 'lib/autorake.rb', line 4 def initialize configFilePath @plugin_root = File.( File.dirname __FILE__ ) + "/.." @configFilePath = configFilePath || @plugin_root + "/config/autorake.yml" @config = YAML.load_file(@configFilePath) start_watching end |