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