Class: SRL::Game::Runner
- Inherits:
-
Object
- Object
- SRL::Game::Runner
- Includes:
- Unmarshalable
- Defined in:
- lib/srl/game.rb
Overview
Name, rating and rank of people that run a game on SRL.
- NOTE
-
This structure is used exclusively by game leaderboards.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
This player’s name on the SRL website.
-
#rank ⇒ Object
(also: #position)
readonly
This player’s position on the leaderboards for a specific game.
-
#trueskill ⇒ Object
(also: #rating)
readonly
This player’s TrueSkill rating for a particular game.
Method Summary
Methods included from Unmarshalable
Instance Attribute Details
#name ⇒ Object (readonly)
This player’s name on the SRL website.
73 74 75 |
# File 'lib/srl/game.rb', line 73 def name @name end |
#rank ⇒ Object (readonly) Also known as: position
This player’s position on the leaderboards for a specific game.
80 81 82 |
# File 'lib/srl/game.rb', line 80 def rank @rank end |
#trueskill ⇒ Object (readonly) Also known as: rating
This player’s TrueSkill rating for a particular game.
76 77 78 |
# File 'lib/srl/game.rb', line 76 def trueskill @trueskill end |