Class: ActiveWarehouse::Builder::AbstractGenerator
- Inherits:
-
Object
- Object
- ActiveWarehouse::Builder::AbstractGenerator
- Defined in:
- lib/active_warehouse/builder/random_data_builder.rb
Overview
Implement this class to provide an generator implementation for a specific class.
Direct Known Subclasses
Instance Method Summary collapse
-
#generate(column, options = {}) ⇒ Object
Generate the next value.
Instance Method Details
#generate(column, options = {}) ⇒ Object
Generate the next value. The column parameter must be an ActiveRecord::Adapter::Column instance. The options hash is implementation dependent.
115 116 117 |
# File 'lib/active_warehouse/builder/random_data_builder.rb', line 115 def generate(column, ={}) raise "generate method must be implemented by a subclass" end |