Module: Moribus::ClassMethods

Defined in:
lib/moribus.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#acts_as_aggregated?Boolean

Return true if self was declared as acts_as_aggregated.

Returns:

  • (Boolean)


55
56
57
# File 'lib/moribus.rb', line 55

def acts_as_aggregated?
  self < AggregatedBehavior
end

#acts_as_tracked?Boolean

Return true if self was declared as acts_as_tracked.

Returns:

  • (Boolean)


60
61
62
# File 'lib/moribus.rb', line 60

def acts_as_tracked?
  self < TrackedBehavior
end