Class: TerminalLayout::Position

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

Instance Attribute Summary collapse

Instance Attribute Details

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



9
10
11
# File 'lib/terminal_layout.rb', line 9

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



9
10
11
# File 'lib/terminal_layout.rb', line 9

def y
  @y
end