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
21
22
23
|
# File 'app/lib/texter/textile_formatter.rb', line 21
def block
textile
end
|
#inline ⇒ Object
16
17
18
19
|
# File 'app/lib/texter/textile_formatter.rb', line 16
def inline
restrictions_with_lite_mode = (options[:restrictions] + [:lite_mode]).uniq
textile :restrictions => restrictions_with_lite_mode
end
|