Method: DBGeni::Environment#method_missing

Defined in:
lib/dbgeni/environment.rb

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



41
42
43
44
45
46
47
48
# File 'lib/dbgeni/environment.rb', line 41

def method_missing(name, *args, &block)
  str_name = name.to_s.gsub(/=$/, '')
  if __is_loadable?
    __load_parameter(str_name, *args)
  else
    __get_parameter(str_name, *args)
  end
end