Module: Rabbit::Format::ConvenienceTextFormatter

Includes:
Formatter
Defined in:
lib/rabbit/formatter.rb

Instance Method Summary collapse

Methods included from Formatter

#tagged_text

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

Returns:

  • (Boolean)

148
149
150
# File 'lib/rabbit/formatter.rb', line 148

def html_formatter?
  true
end

#text_formatter?Boolean

Returns:

  • (Boolean)

144
145
146
# File 'lib/rabbit/formatter.rb', line 144

def text_formatter?
  true
end