Class: Rankle::Ranker
- Inherits:
-
Object
- Object
- Rankle::Ranker
- Defined in:
- lib/rankle/ranker.rb
Instance Attribute Summary collapse
-
#strategy ⇒ Object
Returns the value of attribute strategy.
Instance Method Summary collapse
-
#initialize(strategy) ⇒ Ranker
constructor
A new instance of Ranker.
Constructor Details
#initialize(strategy) ⇒ Ranker
Returns a new instance of Ranker.
5 6 7 |
# File 'lib/rankle/ranker.rb', line 5 def initialize strategy @strategy = strategy end |
Instance Attribute Details
#strategy ⇒ Object
Returns the value of attribute strategy.
3 4 5 |
# File 'lib/rankle/ranker.rb', line 3 def strategy @strategy end |