Class: Dare::Coordinates

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

Instance Attribute Summary collapse

Instance Attribute Details

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



177
178
179
# File 'lib/dare/window.rb', line 177

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



177
178
179
# File 'lib/dare/window.rb', line 177

def y
  @y
end