Class: CardObject
Instance Attribute Summary
Attributes included from Colorful
Instance Method Summary collapse
-
#initialize(color) ⇒ CardObject
constructor
A new instance of CardObject.
Methods included from Colorful
Constructor Details
#initialize(color) ⇒ CardObject
Returns a new instance of CardObject.
9 10 11 |
# File 'lib/ttr/objects/card.rb', line 9 def initialize (color) @color = color.to_sym end |