Class: ConsoleShogi::Terminal::Cursor::TerminalPosition
- Inherits:
-
Struct
- Object
- Struct
- ConsoleShogi::Terminal::Cursor::TerminalPosition
- Defined in:
- lib/console_shogi/terminal/cursor.rb
Instance Attribute Summary collapse
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#x ⇒ Object
Returns the value of attribute x
4 5 6 |
# File 'lib/console_shogi/terminal/cursor.rb', line 4 def x @x end |
#y ⇒ Object
Returns the value of attribute y
4 5 6 |
# File 'lib/console_shogi/terminal/cursor.rb', line 4 def y @y end |