Class: TictactoeJ8th::Human
- Inherits:
-
Object
- Object
- TictactoeJ8th::Human
- Defined in:
- lib/tictactoe_j8th/human.rb
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(token) ⇒ Human
constructor
A new instance of Human.
Constructor Details
#initialize(token) ⇒ Human
Returns a new instance of Human.
6 7 8 |
# File 'lib/tictactoe_j8th/human.rb', line 6 def initialize(token) @token = token end |
Instance Attribute Details
#token ⇒ Object (readonly)
Returns the value of attribute token.
4 5 6 |
# File 'lib/tictactoe_j8th/human.rb', line 4 def token @token end |