Class: Twterm::Image::Underlined
- Inherits:
-
Attr
- Object
- Twterm::Image
- Attr
- Twterm::Image::Underlined
- Defined in:
- lib/twterm/image/underlined.rb
Instance Method Summary collapse
Methods inherited from Attr
#height, #initialize, #render, #width
Methods inherited from Twterm::Image
#!, #-, #_, #at, blank_line, #bold, #brackets, checkbox, #color, #column, cursor, #dim, empty, #initialize, #line, number, #parens, plural, remaining_resource, string, toggle_switch, #underlined, whitespace, #|
Constructor Details
This class inherits a constructor from Twterm::Image::Attr
Instance Method Details
#to_s ⇒ Object
6 7 8 |
# File 'lib/twterm/image/underlined.rb', line 6 def to_s "\e[4m#{image}\e[0m" end |