Class: GenericPlayer
- Inherits:
-
Object
- Object
- GenericPlayer
- Defined in:
- lib/fiveinarow/generic_player.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#sym ⇒ Object
Returns the value of attribute sym.
Instance Method Summary collapse
-
#initialize(sym) ⇒ GenericPlayer
constructor
A new instance of GenericPlayer.
Constructor Details
#initialize(sym) ⇒ GenericPlayer
Returns a new instance of GenericPlayer.
4 5 6 |
# File 'lib/fiveinarow/generic_player.rb', line 4 def initialize(sym) @sym = sym end |
Instance Attribute Details
#sym ⇒ Object
Returns the value of attribute sym.
2 3 4 |
# File 'lib/fiveinarow/generic_player.rb', line 2 def sym @sym end |