Class: Pekky::Format::Textile
- Inherits:
-
Transformer
- Object
- Transformer
- Pekky::Format::Textile
- Defined in:
- lib/pekky/format.rb
Overview
Formats textile markup into HTML.
Class Method Summary collapse
Methods inherited from Transformer
_filter, _format, name, singleton_method_added
Class Method Details
.format(text) ⇒ Object
184 185 186 |
# File 'lib/pekky/format.rb', line 184 def self.format(text) Tilt::RedClothTemplate.new {text}.render end |