Class: Shellfie::Segment
- Inherits:
-
Struct
- Object
- Struct
- Shellfie::Segment
- Defined in:
- lib/shellfie/ansi_parser.rb
Instance Attribute Summary collapse
-
#background ⇒ Object
Returns the value of attribute background.
-
#bold ⇒ Object
Returns the value of attribute bold.
-
#dim ⇒ Object
Returns the value of attribute dim.
-
#foreground ⇒ Object
Returns the value of attribute foreground.
-
#italic ⇒ Object
Returns the value of attribute italic.
-
#overline ⇒ Object
Returns the value of attribute overline.
-
#reverse ⇒ Object
Returns the value of attribute reverse.
-
#strikethrough ⇒ Object
Returns the value of attribute strikethrough.
-
#text ⇒ Object
Returns the value of attribute text.
-
#underline ⇒ Object
Returns the value of attribute underline.
Instance Attribute Details
#background ⇒ Object
Returns the value of attribute background
8 9 10 |
# File 'lib/shellfie/ansi_parser.rb', line 8 def background @background end |
#bold ⇒ Object
Returns the value of attribute bold
8 9 10 |
# File 'lib/shellfie/ansi_parser.rb', line 8 def bold @bold end |
#dim ⇒ Object
Returns the value of attribute dim
8 9 10 |
# File 'lib/shellfie/ansi_parser.rb', line 8 def dim @dim end |
#foreground ⇒ Object
Returns the value of attribute foreground
8 9 10 |
# File 'lib/shellfie/ansi_parser.rb', line 8 def foreground @foreground end |
#italic ⇒ Object
Returns the value of attribute italic
8 9 10 |
# File 'lib/shellfie/ansi_parser.rb', line 8 def italic @italic end |
#overline ⇒ Object
Returns the value of attribute overline
8 9 10 |
# File 'lib/shellfie/ansi_parser.rb', line 8 def overline @overline end |
#reverse ⇒ Object
Returns the value of attribute reverse
8 9 10 |
# File 'lib/shellfie/ansi_parser.rb', line 8 def reverse @reverse end |
#strikethrough ⇒ Object
Returns the value of attribute strikethrough
8 9 10 |
# File 'lib/shellfie/ansi_parser.rb', line 8 def strikethrough @strikethrough end |
#text ⇒ Object
Returns the value of attribute text
8 9 10 |
# File 'lib/shellfie/ansi_parser.rb', line 8 def text @text end |
#underline ⇒ Object
Returns the value of attribute underline
8 9 10 |
# File 'lib/shellfie/ansi_parser.rb', line 8 def underline @underline end |