Method: ActionView::Helpers::JavaScriptProxy#method_missing
- Defined in:
- lib/action_view/helpers/prototype_helper.rb
#method_missing(method, *arguments, &block) ⇒ Object (private)
660 661 662 663 664 665 666 |
# File 'lib/action_view/helpers/prototype_helper.rb', line 660 def method_missing(method, *arguments, &block) if method.to_s =~ /(.*)=$/ assign($1, arguments.first) else call("#{method.to_s.camelize(:lower)}", *arguments, &block) end end |