Method: Brief::Configuration#method_missing
- Defined in:
- lib/brief/configuration.rb
#method_missing(meth, *args, &block) ⇒ Object
29 30 31 32 33 34 35 36 37 |
# File 'lib/brief/configuration.rb', line 29 def method_missing(meth, *args, &block) if current.respond_to?(meth) && current.key?(meth) current.send(meth, *args, &block) else # swallow invalid method calls in production super if ENV['BRIEF_DEBUG_MODE'] nil end end |