Flowdock
method

method_missing

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActionView::Helpers::JavaScriptCollectionProxy
method_missing(method, *arguments, &block) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/helpers/prototype_helper.rb, line 1262
        def method_missing(method, *arguments, &block)
          if ENUMERABLE_METHODS.include?(method)
            returnable = ENUMERABLE_METHODS_WITH_RETURN.include?(method)
            variable   = arguments.first if returnable
            enumerate(method, {:variable => (arguments.first if returnable), :return => returnable, :yield_args => %w(value index)}, &block)
          else
            super
          end
        end
Register or log in to add new notes.