Module: ROM::ArrayDataset
- Extended by:
- DataProxy::ClassMethods
- Includes:
- EnumerableDataset
- Included in:
- Memory::Dataset
- Defined in:
- core/lib/rom/array_dataset.rb
Overview
A helper module that adds data-proxy behavior to an array-like object
Class Method Summary collapse
-
.forward(*methods) ⇒ undefined
extended
from DataProxy::ClassMethods
Forward provided methods to the underlaying data object.
-
.included(klass) ⇒ Object
private
Extends the class with data-proxy behavior.
-
.row_proc ⇒ Proc
extended
from DataProxy::ClassMethods
private
Default no-op tuple proc.
Class Method Details
.forward(*methods) ⇒ undefined Originally defined in module DataProxy::ClassMethods
Forward provided methods to the underlaying data object
.included(klass) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Extends the class with data-proxy behavior
19 20 21 22 23 24 25 26 |
# File 'core/lib/rom/array_dataset.rb', line 19 def self.included(klass) klass.class_eval do extend Initializer include DataProxy param :data end end |
.row_proc ⇒ Proc Originally defined in module DataProxy::ClassMethods
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Default no-op tuple proc