Module: Erb2Slim
- Defined in:
- lib/erb2slim.rb
Class Method Summary collapse
Class Method Details
.convert(input) ⇒ Object
6 7 8 9 10 |
# File 'lib/erb2slim.rb', line 6 def self.convert(input) haml = Haml::HTML.new(input, :erb => true, :xhtml => false).render slim = Haml2Slim.convert!(haml).to_s slim end |