Sha256: b077d90c82b1fc694e75a40bf6f2a3588ec6d46b287462c73b5fc65eb7c9da78

Contents?: true

Size: 290 Bytes

Versions: 19

Compression:

Stored size: 290 Bytes

Contents

require 'gettext_i18n_rails/base_parser'

module GettextI18nRails
  class SlimParser < BaseParser
    def self.extension
      "slim"
    end

    def self.convert_to_code(text)
      Slim::Engine.new.call(text)
    end
  end
end

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

Version data entries

19 entries across 19 versions & 2 rubygems

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