Class: EightyOne::Face
- Inherits:
-
Object
- Object
- EightyOne::Face
- Defined in:
- lib/eighty-one/face.rb
Instance Attribute Summary collapse
-
#movements ⇒ Object
readonly
Returns the value of attribute movements.
-
#symbol ⇒ Object
readonly
Returns the value of attribute symbol.
Instance Method Summary collapse
-
#initialize(symbol, movements) ⇒ Face
constructor
A new instance of Face.
Constructor Details
#initialize(symbol, movements) ⇒ Face
Returns a new instance of Face.
5 6 7 8 |
# File 'lib/eighty-one/face.rb', line 5 def initialize(symbol, movements) @symbol = symbol @movements = movements end |
Instance Attribute Details
#movements ⇒ Object (readonly)
Returns the value of attribute movements.
3 4 5 |
# File 'lib/eighty-one/face.rb', line 3 def movements @movements end |
#symbol ⇒ Object (readonly)
Returns the value of attribute symbol.
3 4 5 |
# File 'lib/eighty-one/face.rb', line 3 def symbol @symbol end |