Class: Texter::TextileFormatter
Instance Attribute Summary
Attributes inherited from Formatter
#body, #options
Instance Method Summary
collapse
Methods inherited from Formatter
#initialize
Instance Method Details
#block ⇒ Object
23
24
25
|
# File 'app/lib/texter/textile_formatter.rb', line 23
def block
textile
end
|
#inline ⇒ Object
18
19
20
21
|
# File 'app/lib/texter/textile_formatter.rb', line 18
def inline
restrictions_with_lite_mode = (options[:restrictions] + [:lite_mode]).uniq
textile :restrictions => restrictions_with_lite_mode
end
|