Method: Docman::Config#initialize
- Defined in:
- lib/docman/config.rb
#initialize(file) ⇒ Config
Returns a new instance of Config.
13 14 15 16 17 18 |
# File 'lib/docman/config.rb', line 13 def initialize(file) super @config = YAML::load_file(file) @loaded_scenario_sources = {} assign_to_self end |