Module: ActiveWarehouse::DimensionReflection
- Defined in:
- lib/active_warehouse/dimension/dimension_reflection.rb
Instance Attribute Summary collapse
-
#slowly_changing_over ⇒ Object
Returns the value of attribute slowly_changing_over.
Instance Method Summary collapse
-
#add_dependent_dimension_reflection(dimension_reflection) ⇒ Object
add a dependent dimension reflection to this dimension reflection.
-
#dependent_dimension_reflections ⇒ Object
returns array of dependent dimension reflections.
Instance Attribute Details
#slowly_changing_over ⇒ Object
Returns the value of attribute slowly_changing_over.
3 4 5 |
# File 'lib/active_warehouse/dimension/dimension_reflection.rb', line 3 def slowly_changing_over @slowly_changing_over end |
Instance Method Details
#add_dependent_dimension_reflection(dimension_reflection) ⇒ Object
add a dependent dimension reflection to this dimension reflection. some dimensions require others to operate, e.g. slowly changing dimensions
12 13 14 |
# File 'lib/active_warehouse/dimension/dimension_reflection.rb', line 12 def add_dependent_dimension_reflection(dimension_reflection) dependent_dimension_reflections << dimension_reflection end |
#dependent_dimension_reflections ⇒ Object
returns array of dependent dimension reflections
17 18 19 |
# File 'lib/active_warehouse/dimension/dimension_reflection.rb', line 17 def dependent_dimension_reflections @dependent_dimension_reflections ||= [] end |