Module: Rabbit::Format::ConvenienceTextFormatter
- Includes:
- Formatter
- Defined in:
- lib/rabbit/formatter.rb
Instance Method Summary collapse
- #format(text) ⇒ Object
- #html_format(text) ⇒ Object
- #html_formatter? ⇒ Boolean
- #text_formatter? ⇒ Boolean
Methods included from Formatter
Instance Method Details
#format(text) ⇒ Object
121 122 123 |
# File 'lib/rabbit/formatter.rb', line 121 def format(text) tagged_text(text, name, {}) end |
#html_format(text) ⇒ Object
125 126 127 |
# File 'lib/rabbit/formatter.rb', line 125 def html_format(text) tagged_text(text, name, {}) end |
#html_formatter? ⇒ Boolean
117 118 119 |
# File 'lib/rabbit/formatter.rb', line 117 def html_formatter? true end |
#text_formatter? ⇒ Boolean
113 114 115 |
# File 'lib/rabbit/formatter.rb', line 113 def text_formatter? true end |