Sha256: ad0f3a90e5f846cad971977602835efd4af09604681cb2736d5a213c3714a569

Contents?: true

Size: 308 Bytes

Versions: 33

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

require "erb"

module ReactOnRails
  module Locales
    class ToJson < Base
      private

      def file_format
        "json"
      end

      def template_translations
        @translations
      end

      def template_default
        @defaults
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
react_on_rails-13.0.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-13.0.0.beta.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.6.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.5.2 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.5.1 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.5.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.4.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.4.0.rc.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.3.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.2.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.1.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.0.5.beta.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-12.0.4 lib/react_on_rails/locales/to_json.rb