Class: HighLine::Header

Inherits:
Struct
  • Object
show all
Includes:
RowBased
Defined in:
lib/rhc/highline_extensions.rb

Instance Attribute Summary collapse

Instance Attribute Details

#colorObject

Returns the value of attribute color

Returns:

  • (Object)

    the current value of color



254
255
256
# File 'lib/rhc/highline_extensions.rb', line 254

def color
  @color
end

#indentObject

Returns the value of attribute indent

Returns:

  • (Object)

    the current value of indent



254
255
256
# File 'lib/rhc/highline_extensions.rb', line 254

def indent
  @indent
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



254
255
256
# File 'lib/rhc/highline_extensions.rb', line 254

def text
  @text
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



254
255
256
# File 'lib/rhc/highline_extensions.rb', line 254

def width
  @width
end