Method: Aruba::InConfigWrapper#method_missing
- Defined in:
- lib/aruba/in_config_wrapper.rb
#method_missing(name, *args) ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/aruba/in_config_wrapper.rb', line 17 def method_missing(name, *args) if config.key? name raise ArgumentError, "Options take no argument" if args.any? config[name] else super end end |