Class: Shellfie::Segment

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

Instance Attribute Summary collapse

Instance Attribute Details

#backgroundObject

Returns the value of attribute background

Returns:

  • (Object)

    the current value of background



8
9
10
# File 'lib/shellfie/ansi_parser.rb', line 8

def background
  @background
end

#boldObject

Returns the value of attribute bold

Returns:

  • (Object)

    the current value of bold



8
9
10
# File 'lib/shellfie/ansi_parser.rb', line 8

def bold
  @bold
end

#dimObject

Returns the value of attribute dim

Returns:

  • (Object)

    the current value of dim



8
9
10
# File 'lib/shellfie/ansi_parser.rb', line 8

def dim
  @dim
end

#foregroundObject

Returns the value of attribute foreground

Returns:

  • (Object)

    the current value of foreground



8
9
10
# File 'lib/shellfie/ansi_parser.rb', line 8

def foreground
  @foreground
end

#italicObject

Returns the value of attribute italic

Returns:

  • (Object)

    the current value of italic



8
9
10
# File 'lib/shellfie/ansi_parser.rb', line 8

def italic
  @italic
end

#overlineObject

Returns the value of attribute overline

Returns:

  • (Object)

    the current value of overline



8
9
10
# File 'lib/shellfie/ansi_parser.rb', line 8

def overline
  @overline
end

#reverseObject

Returns the value of attribute reverse

Returns:

  • (Object)

    the current value of reverse



8
9
10
# File 'lib/shellfie/ansi_parser.rb', line 8

def reverse
  @reverse
end

#strikethroughObject

Returns the value of attribute strikethrough

Returns:

  • (Object)

    the current value of strikethrough



8
9
10
# File 'lib/shellfie/ansi_parser.rb', line 8

def strikethrough
  @strikethrough
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



8
9
10
# File 'lib/shellfie/ansi_parser.rb', line 8

def text
  @text
end

#underlineObject

Returns the value of attribute underline

Returns:

  • (Object)

    the current value of underline



8
9
10
# File 'lib/shellfie/ansi_parser.rb', line 8

def underline
  @underline
end