Class: ActionView::Helpers::JavaScriptElementCollectionProxy

Inherits:
JavaScriptCollectionProxy
  • Object
show all
Defined in:
lib/jquery/jquery.rb

Overview

:nodoc:\

Constant Summary collapse

JQUERY_VAR =
PrototypeHelper::JQUERY_VAR

Instance Method Summary collapse

Constructor Details

#initialize(generator, pattern) ⇒ JavaScriptElementCollectionProxy

Returns a new instance of JavaScriptElementCollectionProxy.



281
282
283
# File 'lib/jquery/jquery.rb', line 281

def initialize(generator, pattern)
  super(generator, "#{JQUERY_VAR}(#{pattern.to_json})")
end