Method: ConsoleShogi::GridPosition#x

Defined in:
lib/console_shogi/grid_position.rb

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



4
5
6
# File 'lib/console_shogi/grid_position.rb', line 4

def x
  @x
end