Class: Dbee::Providers::ActiveRecordProvider::Maker
- Inherits:
-
Object
- Object
- Dbee::Providers::ActiveRecordProvider::Maker
- Defined in:
- lib/dbee/providers/active_record_provider/maker.rb
Overview
This class composes all the maker instances into one for use together.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(column_alias_maker) ⇒ Maker
constructor
:nodoc: all.
Constructor Details
#initialize(column_alias_maker) ⇒ Maker
:nodoc: all
20 21 22 23 24 25 26 |
# File 'lib/dbee/providers/active_record_provider/maker.rb', line 20 def initialize(column_alias_maker) @column_alias_maker = column_alias_maker @constraint_maker = Makers::Constraint.instance @order_maker = Makers::Order.instance @select_maker = Makers::Select.new(column_alias_maker) @where_maker = Makers::Where.instance end |