Class: ActionView::Helpers::JavaScriptElementCollectionProxy
- Inherits:
-
JavaScriptCollectionProxy
- Object
- Builder::BlankSlate
- JavaScriptProxy
- JavaScriptCollectionProxy
- ActionView::Helpers::JavaScriptElementCollectionProxy
- Defined in:
- lib/action_view/helpers/prototype_helper.rb
Overview
:nodoc:\
Constant Summary
Constants inherited from JavaScriptCollectionProxy
ActionView::Helpers::JavaScriptCollectionProxy::ENUMERABLE_METHODS, ActionView::Helpers::JavaScriptCollectionProxy::ENUMERABLE_METHODS_WITH_RETURN
Instance Attribute Summary
Attributes inherited from JavaScriptCollectionProxy
Instance Method Summary collapse
-
#initialize(generator, pattern) ⇒ JavaScriptElementCollectionProxy
constructor
A new instance of JavaScriptElementCollectionProxy.
Methods inherited from JavaScriptCollectionProxy
Constructor Details
#initialize(generator, pattern) ⇒ JavaScriptElementCollectionProxy
Returns a new instance of JavaScriptElementCollectionProxy.
895 896 897 |
# File 'lib/action_view/helpers/prototype_helper.rb', line 895 def initialize(generator, pattern) super(generator, "$$(#{pattern.to_json})") end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ActionView::Helpers::JavaScriptCollectionProxy