Class: SRL::Game::Runner

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from Unmarshalable

included

Instance Attribute Details

#nameObject (readonly)

This player’s name on the SRL website.



73
74
75
# File 'lib/srl/game.rb', line 73

def name
  @name
end

#rankObject (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

#trueskillObject (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