Method: ConsoleShogi::GridPosition#y

Defined in:
lib/console_shogi/grid_position.rb

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



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

def y
  @y
end