Class: CSstats::Parser::Reader::Player
- Inherits:
-
Object
- Object
- CSstats::Parser::Reader::Player
- Defined in:
- lib/csstats/parser/reader/player.rb
Instance Attribute Summary collapse
-
#stream ⇒ Object
readonly
Returns the value of attribute stream.
Instance Method Summary collapse
-
#initialize(stream) ⇒ Player
constructor
A new instance of Player.
- #parse ⇒ Object
Constructor Details
#initialize(stream) ⇒ Player
Returns a new instance of Player.
9 10 11 |
# File 'lib/csstats/parser/reader/player.rb', line 9 def initialize(stream) @stream = stream end |
Instance Attribute Details
#stream ⇒ Object (readonly)
Returns the value of attribute stream.
7 8 9 |
# File 'lib/csstats/parser/reader/player.rb', line 7 def stream @stream end |