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)


53
54
55
# File 'lib/moribus.rb', line 53

def acts_as_aggregated?
  self < AggregatedBehavior
end

#acts_as_tracked?Boolean

Return true if self was declared as acts_as_tracked.

Returns:

  • (Boolean)


58
59
60
# File 'lib/moribus.rb', line 58

def acts_as_tracked?
  self < TrackedBehavior
end