Class: XO::Position

Inherits:
Struct
  • Object
show all
Defined in:
lib/xo.rb

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



19
20
21
# File 'lib/xo.rb', line 19

def column
  @column
end

#rowObject

Returns the value of attribute row

Returns:

  • (Object)

    the current value of row



19
20
21
# File 'lib/xo.rb', line 19

def row
  @row
end