Sha256: 3352902c035dd531c6aadb090d0d14572061ec64e3421f674baa0fdbe00c568a
Contents?: true
Size: 310 Bytes
Versions: 2
Compression:
Stored size: 310 Bytes
Contents
require 'gettext_i18n_rails/base_parser' module GettextI18nRails class HamletParser < BaseParser def self.extension "hamlet" end def self.convert_to_code(text) Hamlet::Engine.new.call(text) end end end GettextI18nRails::GettextHooks.add_parser GettextI18nRails::HamletParser
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gettext_i18n_rails-0.7.2 | lib/gettext_i18n_rails/hamlet_parser.rb |
gettext_i18n_rails-0.7.1 | lib/gettext_i18n_rails/hamlet_parser.rb |