Class: Termplot::PositionedWidget

Inherits:
Struct
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/termplot/positioned_widget.rb

Instance Attribute Summary collapse

Instance Attribute Details

#colObject

Returns the value of attribute col

Returns:

  • (Object)

    the current value of col



4
5
6
# File 'lib/termplot/positioned_widget.rb', line 4

def col
  @col
end

#rowObject

Returns the value of attribute row

Returns:

  • (Object)

    the current value of row



4
5
6
# File 'lib/termplot/positioned_widget.rb', line 4

def row
  @row
end

#widgetObject

Returns the value of attribute widget

Returns:

  • (Object)

    the current value of widget



4
5
6
# File 'lib/termplot/positioned_widget.rb', line 4

def widget
  @widget
end