Class: ReactOnRails::Locales::ToJson
- Inherits:
-
Base
- Object
- Base
- ReactOnRails::Locales::ToJson
show all
- Defined in:
- lib/react_on_rails/locales/to_json.rb,
sig/react_on_rails/locales.rbs
Instance Method Summary
collapse
Methods inherited from Base
#convert, #default_locale, #exist_files, #file, #file_names, #files, #files_are_outdated, #flatten, #flatten_defaults, #format, #generate_file, #generate_translations, #i18n_dir, #i18n_yml_dir, #initialize, #locale_files, #obsolete?
Instance Method Details
10
11
12
|
# File 'lib/react_on_rails/locales/to_json.rb', line 10
def file_format
"json"
end
|
#template_default ⇒ String
18
19
20
|
# File 'lib/react_on_rails/locales/to_json.rb', line 18
def template_default
@defaults
end
|
#template_translations ⇒ String
14
15
16
|
# File 'lib/react_on_rails/locales/to_json.rb', line 14
def template_translations
@translations
end
|