Sha256: 65905544b91c40de9edce7689d1cfc5fa6865b45b71983fd001bbdc83030cedf

Contents?: true

Size: 354 Bytes

Versions: 10

Compression:

Stored size: 354 Bytes

Contents

# frozen_string_literal: true

require "erb"

module ReactOnRails
  module Locales
    class ToJson < Base
      def initialize
        super
      end

      private

      def file_format
        "json"
      end

      def template_translations
        @translations
      end

      def template_default
        @defaults
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
react_on_rails-12.0.3 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.0.3.beta.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.0.2 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.0.1 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.0.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.0.0.pre.beta.4 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.0.0.pre.beta.3 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.0.0.pre.beta.2 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.0.0.pre.beta.1 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.0.0.pre.beta.0 lib/react_on_rails/locales/to_json.rb