Class: ActionView::Helpers::JavaScriptElementCollectionProxy
- Inherits:
-
JavaScriptCollectionProxy
- Object
- JavaScriptCollectionProxy
- ActionView::Helpers::JavaScriptElementCollectionProxy
- Defined in:
- lib/jrails.rb
Overview
:nodoc:\
Constant Summary collapse
- JQUERY_VAR =
PrototypeHelper::JQUERY_VAR
Instance Method Summary collapse
-
#initialize(generator, pattern) ⇒ JavaScriptElementCollectionProxy
constructor
A new instance of JavaScriptElementCollectionProxy.
Constructor Details
#initialize(generator, pattern) ⇒ JavaScriptElementCollectionProxy
Returns a new instance of JavaScriptElementCollectionProxy.
271 272 273 |
# File 'lib/jrails.rb', line 271 def initialize(generator, pattern) super(generator, "#{JQUERY_VAR}(#{pattern.to_json})") end |