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-14.1.1 lib/react_on_rails/locales/to_json.rb
react_on_rails-14.1.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-14.1.0.rc.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-15.0.0.alpha.1 lib/react_on_rails/locales/to_json.rb
react_on_rails-14.0.5 lib/react_on_rails/locales/to_json.rb
react_on_rails-14.0.4 lib/react_on_rails/locales/to_json.rb
react_on_rails-14.0.3 lib/react_on_rails/locales/to_json.rb
react_on_rails-14.0.2 lib/react_on_rails/locales/to_json.rb
react_on_rails-14.0.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-13.4.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-13.3.5 lib/react_on_rails/locales/to_json.rb
react_on_rails-13.3.4 lib/react_on_rails/locales/to_json.rb
react_on_rails-13.3.3 lib/react_on_rails/locales/to_json.rb
react_on_rails-13.3.2 lib/react_on_rails/locales/to_json.rb
react_on_rails-13.3.1 lib/react_on_rails/locales/to_json.rb
react_on_rails-13.3.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-13.2.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-13.1.0 lib/react_on_rails/locales/to_json.rb
react_on_rails-13.0.2 lib/react_on_rails/locales/to_json.rb
react_on_rails-13.0.1 lib/react_on_rails/locales/to_json.rb