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
152 153 154 |
# File 'lib/rabbit/formatter.rb', line 152 def format(text) tagged_text(text, name, {}) end |
#html_format(text) ⇒ Object
156 157 158 |
# File 'lib/rabbit/formatter.rb', line 156 def html_format(text) tagged_text(text, name, {}) end |
#html_formatter? ⇒ Boolean
148 149 150 |
# File 'lib/rabbit/formatter.rb', line 148 def html_formatter? true end |
#text_formatter? ⇒ Boolean
144 145 146 |
# File 'lib/rabbit/formatter.rb', line 144 def text_formatter? true end |