Method: Bento::Configuration#method_missing
- Defined in:
- lib/bento/sdk/configuration.rb
#method_missing(name, *args, &block) ⇒ Object (protected)
74 75 76 77 78 79 80 81 82 83 |
# File 'lib/bento/sdk/configuration.rb', line 74 def method_missing(name, *args, &block) if respond_to_missing?(name) name = name.to_s method = name =~ /=$/ ? :[]= : :[] name = name.sub(/=$/, '').to_sym send(method, name, *args, &block) else super end end |