Sha256: bf54f2f95c5b0adf9bdc91b184a6524dfd701f5ccb70db04645965e69bf24e1c

Contents?: true

Size: 299 Bytes

Versions: 19

Compression:

Stored size: 299 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

GetText::RGetText.add_parser(GettextI18nRails::HamletParser)

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
gettext_i18n_rails-0.6.6 lib/gettext_i18n_rails/hamlet_parser.rb
gettext_i18n_rails-0.6.5 lib/gettext_i18n_rails/hamlet_parser.rb
gettext_i18n_rails-0.6.4 lib/gettext_i18n_rails/hamlet_parser.rb
gettext_i18n_rails-0.6.3 lib/gettext_i18n_rails/hamlet_parser.rb
gettext_i18n_rails-0.6.2 lib/gettext_i18n_rails/hamlet_parser.rb
gettext_i18n_rails-0.6.1 lib/gettext_i18n_rails/hamlet_parser.rb
gettext_i18n_rails-0.5.4 lib/gettext_i18n_rails/hamlet_parser.rb
nulogy-gettext_i18n_rails-0.5.3.2 lib/gettext_i18n_rails/hamlet_parser.rb
nulogy-gettext_i18n_rails-0.5.3.1 lib/gettext_i18n_rails/hamlet_parser.rb
gettext_i18n_rails-0.5.3 lib/gettext_i18n_rails/hamlet_parser.rb
nulogy-gettext_i18n_rails-0.5.0.3 lib/gettext_i18n_rails/hamlet_parser.rb
gettext_i18n_rails-0.5.2 lib/gettext_i18n_rails/hamlet_parser.rb
nulogy-gettext_i18n_rails-0.5.0.2 lib/gettext_i18n_rails/hamlet_parser.rb
gettext_i18n_rails-0.5.1 lib/gettext_i18n_rails/hamlet_parser.rb
nulogy-gettext_i18n_rails-0.5.0.1 lib/gettext_i18n_rails/hamlet_parser.rb
gettext_i18n_rails-0.5.0 lib/gettext_i18n_rails/hamlet_parser.rb
nulogy-gettext_i18n_rails-0.4.6.2 lib/gettext_i18n_rails/hamlet_parser.rb
nulogy-gettext_i18n_rails-0.4.6.1 lib/gettext_i18n_rails/hamlet_parser.rb
gettext_i18n_rails-0.4.6 lib/gettext_i18n_rails/hamlet_parser.rb