Returns the value of attribute x
Returns:
the current value of x
4 5 6
# File 'lib/console_shogi/grid_position.rb', line 4 def x @x end