method
grep
v2.3.8 -
Show latest stable
- Class:
ActionView::Helpers::JavaScriptCollectionProxy
grep(variable, pattern, &block)public
No documentation available.
# File actionpack/lib/action_view/helpers/prototype_helper.rb, line 1218
def grep(variable, pattern, &block)
enumerate :grep, :variable => variable, :return => true, :method_args => [pattern], :yield_args => %w(value index), &block
end