Method: Aruba::ConfigWrapper#method_missing
- Defined in:
- lib/aruba/config_wrapper.rb
#method_missing(name, *args, &block) ⇒ Object
Proxy all methods
If one method ends with "=", e.g. ":option1=", then notify the event queue, that the user changes the value of "option1"
34 35 36 37 38 39 40 |
# File 'lib/aruba/config_wrapper.rb', line 34 def method_missing(name, *args, &block) notify(name, args) if name.to_s.end_with?('=') return config.send(name, *args, &block) if config.respond_to? name super end |