method

method_missing

rails latest stable - Class: ActionView::Helpers::JavaScriptProxy

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

method_missing(method, *arguments, &block)
private

No documentation available.

# File actionpack/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