Class: Texter::SimpleFormatter

Inherits:
Formatter show all
Defined in:
app/lib/texter/simple_formatter.rb

Instance Attribute Summary

Attributes inherited from Formatter

#body, #options

Instance Method Summary collapse

Methods inherited from Formatter

#initialize

Constructor Details

This class inherits a constructor from Texter::Formatter

Instance Method Details

#blockObject



7
8
9
# File 'app/lib/texter/simple_formatter.rb', line 7

def block
  ApplicationController.helpers.simple_format(body)
end

#inlineObject



3
4
5
# File 'app/lib/texter/simple_formatter.rb', line 3

def inline
  body
end