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



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def background
  @background
end

Returns the value of attribute blink

Returns:

  • (Object)

    the current value of blink



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def blink
  @blink
end

#boldObject

Returns the value of attribute bold

Returns:

  • (Object)

    the current value of bold



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def bold
  @bold
end

#concealObject

Returns the value of attribute conceal

Returns:

  • (Object)

    the current value of conceal



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def conceal
  @conceal
end

#dimObject

Returns the value of attribute dim

Returns:

  • (Object)

    the current value of dim



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def dim
  @dim
end

#foregroundObject

Returns the value of attribute foreground

Returns:

  • (Object)

    the current value of foreground



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def foreground
  @foreground
end

#italicObject

Returns the value of attribute italic

Returns:

  • (Object)

    the current value of italic



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def italic
  @italic
end

Returns the value of attribute link

Returns:

  • (Object)

    the current value of link



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def link
  @link
end

#overlineObject

Returns the value of attribute overline

Returns:

  • (Object)

    the current value of overline



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def overline
  @overline
end

#reverseObject

Returns the value of attribute reverse

Returns:

  • (Object)

    the current value of reverse



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def reverse
  @reverse
end

#strikethroughObject

Returns the value of attribute strikethrough

Returns:

  • (Object)

    the current value of strikethrough



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def strikethrough
  @strikethrough
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def text
  @text
end

#underlineObject

Returns the value of attribute underline

Returns:

  • (Object)

    the current value of underline



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def underline
  @underline
end

#underline_colorObject

Returns the value of attribute underline_color

Returns:

  • (Object)

    the current value of underline_color



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def underline_color
  @underline_color
end

#underline_styleObject

Returns the value of attribute underline_style

Returns:

  • (Object)

    the current value of underline_style



10
11
12
# File 'lib/shellfie/ansi_parser.rb', line 10

def underline_style
  @underline_style
end