Class
RankedModel::Ranker::Mapper
In:
lib/ranked-model/ranker.rb
Parent:
Object
Methods
current_at_position
handle_ranking
has_rank?
new
position
rank
relative_rank
update_rank!
validate_ranker_for_instance!
Attributes
instance
[RW]
ranker
[RW]
Public Class methods
new
(ranker, instance)
Public Instance methods
current_at_position
(_pos)
handle_ranking
()
has_rank?
()
position
()
rank
()
relative_rank
()
update_rank!
(value)
validate_ranker_for_instance!
()
[Validate]