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



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

Returns:

  • (Boolean)


117
118
119
# File 'lib/rabbit/formatter.rb', line 117

def html_formatter?
  true
end

#text_formatter?Boolean

Returns:

  • (Boolean)


113
114
115
# File 'lib/rabbit/formatter.rb', line 113

def text_formatter?
  true
end