Module: GameClass
Overview
A module implementing basic functionality for classes representing player classes
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
Returns the name of this class.
-
#play_time ⇒ Fixnum
readonly
Returns the time in minutes the player has played with this class.
Instance Attribute Details
#name ⇒ String (readonly)
Returns the name of this class
15 16 17 |
# File 'lib/steam/community/game_class.rb', line 15 def name @name end |
#play_time ⇒ Fixnum (readonly)
Returns the time in minutes the player has played with this class
20 21 22 |
# File 'lib/steam/community/game_class.rb', line 20 def play_time @play_time end |