Class: ActionView::Helpers::JavaScriptElementCollectionProxy

Inherits:
JavaScriptCollectionProxy
  • Object
show all
Defined in:
lib/jrails.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.



271
272
273
# File 'lib/jrails.rb', line 271

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