Class: Reline::CursorPos

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#as_json, json_create, #pretty_print, #pretty_print_cycle, #to_json

Instance Attribute Details

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



36
37
38
# File 'lib/reline.rb', line 36

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



36
37
38
# File 'lib/reline.rb', line 36

def y
  @y
end