Module: Moribus::ClassMethods
- Defined in:
- lib/moribus.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#parent_relation_keys ⇒ Object
readonly
Returns the value of attribute parent_relation_keys.
Instance Method Summary collapse
-
#acts_as_aggregated? ⇒ Boolean
Return
trueif self was declared asacts_as_aggregated. -
#acts_as_tracked? ⇒ Boolean
Return
trueif self was declared asacts_as_tracked.
Instance Attribute Details
#parent_relation_keys ⇒ Object (readonly)
Returns the value of attribute parent_relation_keys.
25 26 27 |
# File 'lib/moribus.rb', line 25 def parent_relation_keys @parent_relation_keys end |
Instance Method Details
#acts_as_aggregated? ⇒ Boolean
Return true if self was declared as acts_as_aggregated.
58 59 60 |
# File 'lib/moribus.rb', line 58 def acts_as_aggregated? self < AggregatedBehavior end |
#acts_as_tracked? ⇒ Boolean
Return true if self was declared as acts_as_tracked.
63 64 65 |
# File 'lib/moribus.rb', line 63 def acts_as_tracked? self < TrackedBehavior end |