Class: DeRjs::JavaScriptElementCollectionProxy
- Inherits:
-
JavaScriptCollectionProxy
- Object
- JavaScriptProxy
- JavaScriptCollectionProxy
- DeRjs::JavaScriptElementCollectionProxy
- Defined in:
- lib/de_rjs/jquery_generator.rb
Overview
:nodoc:\
Constant Summary
Constants inherited from JavaScriptCollectionProxy
DeRjs::JavaScriptCollectionProxy::ENUMERABLE_METHODS, DeRjs::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
#each_slice, #grep, #in_groups_of, #inject, #pluck, #zip
Methods inherited from JavaScriptProxy
Constructor Details
#initialize(generator, pattern) ⇒ JavaScriptElementCollectionProxy
Returns a new instance of JavaScriptElementCollectionProxy.
806 807 808 |
# File 'lib/de_rjs/jquery_generator.rb', line 806 def initialize(generator, pattern) super(generator, "#{::JQUERY_VAR}(#{::ActiveSupport::JSON.encode(pattern)});") end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class DeRjs::JavaScriptCollectionProxy