Module: Almicube::Cog
- Included in:
- Aggregator::Base, Bundler::Base, Selector::Base
- Defined in:
- lib/almicube/cog.rb
Instance Attribute Summary collapse
-
#ranking ⇒ Object
Returns the value of attribute ranking.
Instance Method Summary collapse
- #active? ⇒ Boolean (also: #has_ranking?)
- #after_aggregate ⇒ Object
- #before_aggregate ⇒ Object
Instance Attribute Details
#ranking ⇒ Object
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?
5 6 7 |
# File 'lib/almicube/cog.rb', line 5 def active? ! @ranking.nil? end |
#after_aggregate ⇒ Object
14 15 |
# File 'lib/almicube/cog.rb', line 14 def after_aggregate end |
#before_aggregate ⇒ Object
11 12 |
# File 'lib/almicube/cog.rb', line 11 def before_aggregate end |