Module: Almicube::Cog

Included in:
Aggregator::Base, Bundler::Base, Selector::Base
Defined in:
lib/almicube/cog.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#rankingObject

Returns the value of attribute ranking.



3
4
5
# File 'lib/almicube/cog.rb', line 3

def ranking
  @ranking
end

Instance Method Details

#active?Boolean Also known as: has_ranking?

Returns:

  • (Boolean)


5
6
7
# File 'lib/almicube/cog.rb', line 5

def active?
  ! @ranking.nil?
end

#after_aggregateObject



14
15
# File 'lib/almicube/cog.rb', line 14

def after_aggregate
end

#before_aggregateObject



11
12
# File 'lib/almicube/cog.rb', line 11

def before_aggregate
end