Class: Activecube::Selector
- Inherits:
-
Object
- Object
- Activecube::Selector
- Extended by:
- DefinitionMethods
- Defined in:
- lib/activecube/selector.rb
Instance Attribute Summary
Attributes included from DefinitionMethods
Instance Method Summary collapse
Methods included from DefinitionMethods
Instance Method Details
#expression(model, arel_table, selector, _cube_query) ⇒ Object
7 8 9 10 |
# File 'lib/activecube/selector.rb', line 7 def expression model, arel_table, selector, _cube_query op = selector.operator op.expression model, arel_table[self.class.column_name.to_sym], op.argument end |