Module: VersatileRJS::Proxy::DefaultResponder
- Defined in:
- lib/versatile_rjs/proxy/default_responder.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/versatile_rjs/proxy/default_responder.rb', line 4 def method_missing(name, *args) if name.to_s =~ /=$/ assign(name, args.first) else call(name, *args) end end |