Class: Engines::Textile
Instance Attribute Summary
#text
Class Method Summary
collapse
Instance Method Summary
collapse
#initialize, #post_mask, #pre_mask, #revert
Class Method Details
.pattern ⇒ Object
13
|
# File 'app/models/chunks/engines.rb', line 13
def self.pattern() /^(.*)$/m end
|
Instance Method Details
#mask(content) ⇒ Object
14
15
16
|
# File 'app/models/chunks/engines.rb', line 14
def mask(content)
RedCloth.new(text,content.options[:engine_opts]).to_html
end
|
#unmask(content) ⇒ Object
17
|
# File 'app/models/chunks/engines.rb', line 17
def unmask(content) self end
|