Class: GettextI18nRails::HamlParser
- Inherits:
-
BaseParser
- Object
- BaseParser
- GettextI18nRails::HamlParser
- Defined in:
- lib/gettext_i18n_rails/haml_parser.rb
Class Method Summary collapse
Methods inherited from BaseParser
Class Method Details
.convert_to_code(text) ⇒ Object
9 10 11 |
# File 'lib/gettext_i18n_rails/haml_parser.rb', line 9 def self.convert_to_code(text) Haml::Engine.new(text).precompiled() end |
.extension ⇒ Object
5 6 7 |
# File 'lib/gettext_i18n_rails/haml_parser.rb', line 5 def self.extension "haml" end |