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