method

grep

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActionView::Helpers::JavaScriptCollectionProxy
grep(variable, pattern, &block) public

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 767
      def grep(variable, pattern, &block)
        enumerate :grep, :variable => variable, :return => true, :method_args => [::ActiveSupport::JSON::Variable.new(pattern.inspect)], :yield_args => %w(value index), &block
      end
Register or log in to add new notes.