Method: Enc::Config#initialize

Defined in:
lib/enc/config.rb

#initialize(config_file = nil, options = {}, use_file = true) ⇒ Config

Returns a new instance of Config.



8
9
10
11
12
# File 'lib/enc/config.rb', line 8

def initialize(config_file=nil, options={}, use_file=true)
  @config_file = get_default_config(config_file)
  @options = options.each { |k,v| {k.to_sym => v} }
  @use_file = use_file
end