Class: Reline::CursorPos

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

Instance Attribute Summary collapse

Instance Attribute Details

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



28
29
30
# File 'lib/reline.rb', line 28

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



28
29
30
# File 'lib/reline.rb', line 28

def y
  @y
end