Module: ROM::ArrayDataset

Extended by:
DataProxy::ClassMethods
Includes:
EnumerableDataset
Defined in:
lib/rom/support/array_dataset.rb

Overview

A helper module that adds data-proxy behavior to an array-like object

See Also:

Class Method Summary collapse

Methods included from DataProxy::ClassMethods

forward, row_proc

Class Method Details

.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



16
17
18
19
20
21
# File 'lib/rom/support/array_dataset.rb', line 16

def self.included(klass)
  klass.class_eval do
    include Options
    include DataProxy
  end
end