Class: TextLineBuilderContext
- Inherits:
-
Object
- Object
- TextLineBuilderContext
- Defined in:
- lib/almirah/doc_items/text_line.rb
Direct Known Subclasses
Instance Method Summary collapse
- #bold(str) ⇒ Object
- #bold_and_italic(str) ⇒ Object
- #italic(str) ⇒ Object
- #link(_link_text, link_url) ⇒ Object
Instance Method Details
#bold(str) ⇒ Object
112 113 114 |
# File 'lib/almirah/doc_items/text_line.rb', line 112 def bold(str) str end |
#bold_and_italic(str) ⇒ Object
116 117 118 |
# File 'lib/almirah/doc_items/text_line.rb', line 116 def bold_and_italic(str) str end |
#italic(str) ⇒ Object
108 109 110 |
# File 'lib/almirah/doc_items/text_line.rb', line 108 def italic(str) str end |
#link(_link_text, link_url) ⇒ Object
120 121 122 |
# File 'lib/almirah/doc_items/text_line.rb', line 120 def link(_link_text, link_url) link_url end |