Class: AlexCodebreaker::PlayersRating
- Inherits:
-
Object
- Object
- AlexCodebreaker::PlayersRating
- Defined in:
- lib/alex_codebreaker/players_rating.rb
Instance Attribute Summary collapse
-
#stats ⇒ Object
Returns the value of attribute stats.
Instance Method Summary collapse
-
#initialize ⇒ PlayersRating
constructor
A new instance of PlayersRating.
Constructor Details
#initialize ⇒ PlayersRating
Returns a new instance of PlayersRating.
5 6 7 8 |
# File 'lib/alex_codebreaker/players_rating.rb', line 5 def initialize @stats = [] load_and_sort_stats end |
Instance Attribute Details
#stats ⇒ Object
Returns the value of attribute stats.
3 4 5 |
# File 'lib/alex_codebreaker/players_rating.rb', line 3 def stats @stats end |