Method: EasyConf::AppConfig#method_missing

Defined in:
lib/easy_conf/app_config.rb

#method_missing(meth, *args, &block) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/easy_conf/app_config.rb', line 8

def method_missing(meth, *args, &block)
  define_singleton_method(meth) do
    @dict[meth]
  end

  @dict[meth] = LookupVisitor.visit(meth)
end