method
method_missing
v2.3.8 -
Show latest stable
- Class:
ActionView::Helpers::JavaScriptProxy
method_missing(method, *arguments, &block)private
No documentation available.
# File actionpack/lib/action_view/helpers/prototype_helper.rb, line 1112
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