Class: Pekky::Format::Haml

Inherits:
Transformer show all
Defined in:
lib/pekky/format.rb

Overview

HAML! I really like Haml. Best template language ever.

Class Method Summary collapse

Methods inherited from Transformer

_filter, _format, name, singleton_method_added

Class Method Details

.format(text) ⇒ Object



205
206
207
# File 'lib/pekky/format.rb', line 205

def self.format(text)
  Tilt::HamlTemplate.new {text}.render
end