alchemrest 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +22 -0
  4. data/.rubocop_todo.yml +242 -0
  5. data/.ruby-version +1 -0
  6. data/Appraisals +19 -0
  7. data/Gemfile +6 -0
  8. data/Gemfile.lock +378 -0
  9. data/Rakefile +29 -0
  10. data/alchemrest.gemspec +71 -0
  11. data/coach.yml +5 -0
  12. data/examples/bank_api/client.rb +31 -0
  13. data/examples/bank_api/data/account.rb +21 -0
  14. data/examples/bank_api/data/ach.rb +16 -0
  15. data/examples/bank_api/data/business_account.rb +22 -0
  16. data/examples/bank_api/data/card.rb +21 -0
  17. data/examples/bank_api/data/check.rb +19 -0
  18. data/examples/bank_api/data/product.rb +20 -0
  19. data/examples/bank_api/data/transaction.rb +49 -0
  20. data/examples/bank_api/data/user.rb +27 -0
  21. data/examples/bank_api/factories.rb +68 -0
  22. data/examples/bank_api/graph_visualization.rb +45 -0
  23. data/examples/bank_api/positive_interest_string.rb +33 -0
  24. data/examples/bank_api/requests/delete_user.rb +17 -0
  25. data/examples/bank_api/requests/get_business_account.rb +24 -0
  26. data/examples/bank_api/requests/get_products.rb +12 -0
  27. data/examples/bank_api/requests/get_transactions.rb +34 -0
  28. data/examples/bank_api/requests/get_user.rb +19 -0
  29. data/examples/bank_api/requests/post_transaction.rb +20 -0
  30. data/examples/bank_api/requests/update_user.rb +28 -0
  31. data/examples/bank_api/root.rb +52 -0
  32. data/examples/bank_api.rb +33 -0
  33. data/gemfiles/faraday_2.gemfile +9 -0
  34. data/gemfiles/faraday_2.gemfile.lock +363 -0
  35. data/gemfiles/rails_7_0.gemfile.lock +341 -0
  36. data/gemfiles/rails_7_2.gemfile +9 -0
  37. data/gemfiles/rails_7_2.gemfile.lock +384 -0
  38. data/gemfiles/rails_8_0.gemfile +9 -0
  39. data/gemfiles/rails_8_0.gemfile.lock +385 -0
  40. data/lib/alchemrest/circuit_breaker.rb +84 -0
  41. data/lib/alchemrest/client/configuration/connection.rb +83 -0
  42. data/lib/alchemrest/client/configuration.rb +89 -0
  43. data/lib/alchemrest/client.rb +48 -0
  44. data/lib/alchemrest/cop.rb +8 -0
  45. data/lib/alchemrest/data/capture_configuration.rb +77 -0
  46. data/lib/alchemrest/data/field.rb +36 -0
  47. data/lib/alchemrest/data/graph.rb +40 -0
  48. data/lib/alchemrest/data/record.rb +60 -0
  49. data/lib/alchemrest/data/schema.rb +80 -0
  50. data/lib/alchemrest/data.rb +9 -0
  51. data/lib/alchemrest/endpoint_definition.rb +47 -0
  52. data/lib/alchemrest/error.rb +122 -0
  53. data/lib/alchemrest/factory_bot.rb +64 -0
  54. data/lib/alchemrest/faraday_middleware/external_api_instrumentation.rb +24 -0
  55. data/lib/alchemrest/faraday_middleware/json_parser.rb +30 -0
  56. data/lib/alchemrest/faraday_middleware/kill_switch.rb +22 -0
  57. data/lib/alchemrest/faraday_middleware/underscore_response.rb +24 -0
  58. data/lib/alchemrest/hash_path.rb +81 -0
  59. data/lib/alchemrest/http_request.rb +75 -0
  60. data/lib/alchemrest/kill_switch/adapters.rb +88 -0
  61. data/lib/alchemrest/kill_switch.rb +31 -0
  62. data/lib/alchemrest/railtie.rb +25 -0
  63. data/lib/alchemrest/request/endpoint.rb +29 -0
  64. data/lib/alchemrest/request/returns.rb +46 -0
  65. data/lib/alchemrest/request.rb +80 -0
  66. data/lib/alchemrest/request_definition/builder.rb +13 -0
  67. data/lib/alchemrest/request_definition.rb +26 -0
  68. data/lib/alchemrest/response/pipeline/extract_payload.rb +64 -0
  69. data/lib/alchemrest/response/pipeline/final.rb +11 -0
  70. data/lib/alchemrest/response/pipeline/omit.rb +46 -0
  71. data/lib/alchemrest/response/pipeline/sanitize.rb +59 -0
  72. data/lib/alchemrest/response/pipeline/transform.rb +26 -0
  73. data/lib/alchemrest/response/pipeline/was_successful.rb +29 -0
  74. data/lib/alchemrest/response/pipeline.rb +71 -0
  75. data/lib/alchemrest/response.rb +73 -0
  76. data/lib/alchemrest/response_captured_handler.rb +68 -0
  77. data/lib/alchemrest/result/halt.rb +15 -0
  78. data/lib/alchemrest/result/try_helpers.rb +16 -0
  79. data/lib/alchemrest/result.rb +128 -0
  80. data/lib/alchemrest/root.rb +77 -0
  81. data/lib/alchemrest/transforms/base_to_type_transform_registry.rb +42 -0
  82. data/lib/alchemrest/transforms/constrainable.rb +41 -0
  83. data/lib/alchemrest/transforms/constraint/block.rb +22 -0
  84. data/lib/alchemrest/transforms/constraint/greater_than.rb +19 -0
  85. data/lib/alchemrest/transforms/constraint/greater_than_or_eq.rb +19 -0
  86. data/lib/alchemrest/transforms/constraint/in_list.rb +19 -0
  87. data/lib/alchemrest/transforms/constraint/is_instance_of.rb +19 -0
  88. data/lib/alchemrest/transforms/constraint/is_uuid.rb +19 -0
  89. data/lib/alchemrest/transforms/constraint/less_than.rb +19 -0
  90. data/lib/alchemrest/transforms/constraint/less_than_or_eq.rb +19 -0
  91. data/lib/alchemrest/transforms/constraint/matches_regex.rb +19 -0
  92. data/lib/alchemrest/transforms/constraint/max_length.rb +19 -0
  93. data/lib/alchemrest/transforms/constraint/min_length.rb +19 -0
  94. data/lib/alchemrest/transforms/constraint.rb +17 -0
  95. data/lib/alchemrest/transforms/constraint_builder/for_number.rb +25 -0
  96. data/lib/alchemrest/transforms/constraint_builder/for_string.rb +21 -0
  97. data/lib/alchemrest/transforms/constraint_builder.rb +15 -0
  98. data/lib/alchemrest/transforms/date_transform.rb +30 -0
  99. data/lib/alchemrest/transforms/enum.rb +52 -0
  100. data/lib/alchemrest/transforms/epoch_time.rb +32 -0
  101. data/lib/alchemrest/transforms/from_chain.rb +15 -0
  102. data/lib/alchemrest/transforms/from_number/to_type_transform_registry.rb +18 -0
  103. data/lib/alchemrest/transforms/from_number.rb +47 -0
  104. data/lib/alchemrest/transforms/from_string/to_type_transform_registry.rb +17 -0
  105. data/lib/alchemrest/transforms/from_string.rb +36 -0
  106. data/lib/alchemrest/transforms/from_type/empty_to_type_transform_registry.rb +14 -0
  107. data/lib/alchemrest/transforms/from_type.rb +64 -0
  108. data/lib/alchemrest/transforms/iso_time.rb +58 -0
  109. data/lib/alchemrest/transforms/json_number.rb +26 -0
  110. data/lib/alchemrest/transforms/loose_hash.rb +96 -0
  111. data/lib/alchemrest/transforms/money_transform.rb +42 -0
  112. data/lib/alchemrest/transforms/number.rb +27 -0
  113. data/lib/alchemrest/transforms/output_type.rb +65 -0
  114. data/lib/alchemrest/transforms/to_decimal.rb +22 -0
  115. data/lib/alchemrest/transforms/to_type/from_string_to_time_selector.rb +29 -0
  116. data/lib/alchemrest/transforms/to_type/transforms_selector.rb +61 -0
  117. data/lib/alchemrest/transforms/to_type.rb +86 -0
  118. data/lib/alchemrest/transforms/typed.rb +32 -0
  119. data/lib/alchemrest/transforms/union.rb +44 -0
  120. data/lib/alchemrest/transforms/with_constraint.rb +26 -0
  121. data/lib/alchemrest/transforms.rb +93 -0
  122. data/lib/alchemrest/url_builder/encoders.rb +39 -0
  123. data/lib/alchemrest/url_builder/options.rb +33 -0
  124. data/lib/alchemrest/url_builder.rb +31 -0
  125. data/lib/alchemrest/version.rb +5 -0
  126. data/lib/alchemrest/webmock_helpers.rb +27 -0
  127. data/lib/alchemrest.rb +159 -0
  128. data/lib/generators/alchemrest/kill_switch_migration_generator.rb +27 -0
  129. data/lib/generators/alchemrest/templates/kill_switch_migration.rb.erb +17 -0
  130. data/lib/rubocop/cop/alchemrest/define_request_using_with_params.rb +53 -0
  131. data/lib/rubocop/cop/alchemrest/endpoint_definition_using_generic_params.rb +55 -0
  132. data/lib/rubocop/cop/alchemrest/request_hash_returning_block.rb +54 -0
  133. data/lib/rubocop/cop/alchemrest/time_transform_with_no_zone.rb +56 -0
  134. data/lib/tapioca/dsl/compilers/alchemrest_data.rb +84 -0
  135. data/lib/tapioca/dsl/compilers/alchemrest_root.rb +68 -0
  136. data/mutant.yml +16 -0
  137. data/rbi/alchemrest/result.rbi +80 -0
  138. data/rbi/alchemrest.rbi +246 -0
  139. data/sorbet/config +5 -0
  140. data/sorbet/rbi/gems/.gitattributes +1 -0
  141. data/sorbet/rbi/gems/abstract_type@0.0.7.rbi +41 -0
  142. data/sorbet/rbi/gems/actionpack@8.0.4.rbi +11733 -0
  143. data/sorbet/rbi/gems/actionview@8.0.4.rbi +6560 -0
  144. data/sorbet/rbi/gems/activemodel@8.0.4.rbi +2891 -0
  145. data/sorbet/rbi/gems/activesupport@8.0.4.rbi +9621 -0
  146. data/sorbet/rbi/gems/adamantium@0.2.0.rbi +144 -0
  147. data/sorbet/rbi/gems/addressable@2.8.7.rbi +779 -0
  148. data/sorbet/rbi/gems/anima@0.3.2.rbi +103 -0
  149. data/sorbet/rbi/gems/ast@2.4.2.rbi +107 -0
  150. data/sorbet/rbi/gems/base64@0.3.0.rbi +52 -0
  151. data/sorbet/rbi/gems/benchmark@0.5.0.rbi +153 -0
  152. data/sorbet/rbi/gems/bigdecimal@3.3.1.rbi +77 -0
  153. data/sorbet/rbi/gems/builder@3.3.0.rbi +9 -0
  154. data/sorbet/rbi/gems/circuitbox@2.0.0.rbi +297 -0
  155. data/sorbet/rbi/gems/concord@0.1.6.rbi +51 -0
  156. data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +4716 -0
  157. data/sorbet/rbi/gems/connection_pool@2.5.4.rbi +9 -0
  158. data/sorbet/rbi/gems/crack@1.0.0.rbi +110 -0
  159. data/sorbet/rbi/gems/crass@1.0.6.rbi +294 -0
  160. data/sorbet/rbi/gems/date@3.4.1.rbi +58 -0
  161. data/sorbet/rbi/gems/drb@2.2.3.rbi +639 -0
  162. data/sorbet/rbi/gems/equalizer@0.0.11.rbi +38 -0
  163. data/sorbet/rbi/gems/erubi@1.13.1.rbi +85 -0
  164. data/sorbet/rbi/gems/factory_bot@6.5.0.rbi +1529 -0
  165. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +181 -0
  166. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.1.rbi +120 -0
  167. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +128 -0
  168. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +123 -0
  169. data/sorbet/rbi/gems/faraday-multipart@1.2.0.rbi +190 -0
  170. data/sorbet/rbi/gems/faraday-net_http@1.0.2.rbi +140 -0
  171. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +116 -0
  172. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +119 -0
  173. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +113 -0
  174. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +149 -0
  175. data/sorbet/rbi/gems/faraday@1.10.5.rbi +1620 -0
  176. data/sorbet/rbi/gems/hansi@0.2.1.rbi +9 -0
  177. data/sorbet/rbi/gems/hashdiff@1.1.2.rbi +174 -0
  178. data/sorbet/rbi/gems/i18n@1.14.7.rbi +1328 -0
  179. data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +145 -0
  180. data/sorbet/rbi/gems/io-console@0.8.0.rbi +9 -0
  181. data/sorbet/rbi/gems/json@2.9.1.rbi +282 -0
  182. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +8057 -0
  183. data/sorbet/rbi/gems/logger@1.7.0.rbi +260 -0
  184. data/sorbet/rbi/gems/loofah@2.24.0.rbi +571 -0
  185. data/sorbet/rbi/gems/memoizable@0.4.2.rbi +131 -0
  186. data/sorbet/rbi/gems/memosa@0.8.2.rbi +185 -0
  187. data/sorbet/rbi/gems/minitest@5.26.0.rbi +824 -0
  188. data/sorbet/rbi/gems/money@6.19.0.rbi +815 -0
  189. data/sorbet/rbi/gems/morpher@0.4.2.rbi +388 -0
  190. data/sorbet/rbi/gems/mprelude@0.1.0.rbi +140 -0
  191. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +180 -0
  192. data/sorbet/rbi/gems/multipart-post@2.4.1.rbi +154 -0
  193. data/sorbet/rbi/gems/mustermann-contrib@3.0.3.rbi +9 -0
  194. data/sorbet/rbi/gems/mustermann@3.0.3.rbi +809 -0
  195. data/sorbet/rbi/gems/netrc@0.11.0.rbi +112 -0
  196. data/sorbet/rbi/gems/nokogiri@1.19.1.rbi +3412 -0
  197. data/sorbet/rbi/gems/parallel@1.26.3.rbi +234 -0
  198. data/sorbet/rbi/gems/parser@3.3.7.0.rbi +4877 -0
  199. data/sorbet/rbi/gems/pp@0.6.2.rbi +176 -0
  200. data/sorbet/rbi/gems/prettyprint@0.2.0.rbi +155 -0
  201. data/sorbet/rbi/gems/prism@1.5.1.rbi +26368 -0
  202. data/sorbet/rbi/gems/procto@0.0.3.rbi +9 -0
  203. data/sorbet/rbi/gems/psych@5.2.3.rbi +806 -0
  204. data/sorbet/rbi/gems/public_suffix@6.0.1.rbi +267 -0
  205. data/sorbet/rbi/gems/racc@1.8.1.rbi +120 -0
  206. data/sorbet/rbi/gems/rack-session@2.1.1.rbi +458 -0
  207. data/sorbet/rbi/gems/rack-test@2.2.0.rbi +405 -0
  208. data/sorbet/rbi/gems/rack@3.1.14.rbi +2774 -0
  209. data/sorbet/rbi/gems/rackup@2.2.1.rbi +132 -0
  210. data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +266 -0
  211. data/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi +545 -0
  212. data/sorbet/rbi/gems/railties@8.0.4.rbi +2150 -0
  213. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +333 -0
  214. data/sorbet/rbi/gems/rake@13.2.1.rbi +2054 -0
  215. data/sorbet/rbi/gems/rbi@0.2.3.rbi +3961 -0
  216. data/sorbet/rbi/gems/rdoc@6.13.1.rbi +6784 -0
  217. data/sorbet/rbi/gems/regexp_parser@2.11.3.rbi +3020 -0
  218. data/sorbet/rbi/gems/reline@0.6.0.rbi +9 -0
  219. data/sorbet/rbi/gems/rexml@3.4.2.rbi +1777 -0
  220. data/sorbet/rbi/gems/rubocop-ast@1.38.0.rbi +5293 -0
  221. data/sorbet/rbi/gems/rubocop@1.71.1.rbi +31846 -0
  222. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +980 -0
  223. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
  224. data/sorbet/rbi/gems/securerandom@0.4.1.rbi +33 -0
  225. data/sorbet/rbi/gems/sentry-ruby@5.22.1.rbi +3782 -0
  226. data/sorbet/rbi/gems/spoom@1.5.1.rbi +4321 -0
  227. data/sorbet/rbi/gems/stringio@3.1.2.rbi +9 -0
  228. data/sorbet/rbi/gems/tapioca@0.16.8.rbi +3399 -0
  229. data/sorbet/rbi/gems/thor@1.3.2.rbi +2012 -0
  230. data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +711 -0
  231. data/sorbet/rbi/gems/timeout@0.4.4.rbi +80 -0
  232. data/sorbet/rbi/gems/tsort@0.2.0.rbi +50 -0
  233. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +1677 -0
  234. data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +62 -0
  235. data/sorbet/rbi/gems/uri@1.1.0.rbi +760 -0
  236. data/sorbet/rbi/gems/useragent@0.16.11.rbi +9 -0
  237. data/sorbet/rbi/gems/webmock@3.24.0.rbi +1362 -0
  238. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +345 -0
  239. data/sorbet/rbi/gems/yard@0.9.37.rbi +8795 -0
  240. data/sorbet/rbi/gems/zeitwerk@2.7.1.rbi +589 -0
  241. data/sorbet/tapioca/config.yml +45 -0
  242. data/sorbet/tapioca/require.rb +8 -0
  243. data/sorbet/tapioca/sorbet/rbi/dsl/.gitattributes +1 -0
  244. data/sorbet/tapioca/sorbet/rbi/dsl/active_support/callbacks.rbi +23 -0
  245. metadata +737 -0
@@ -0,0 +1,1328 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `i18n` gem.
5
+ # Please instead update this file by running `bin/tapioca gem i18n`.
6
+
7
+
8
+ # source://i18n//lib/i18n/gettext/po_parser.rb#15
9
+ module GetText; end
10
+
11
+ # source://i18n//lib/i18n/gettext/po_parser.rb#17
12
+ class GetText::PoParser < ::Racc::Parser
13
+ # source://i18n//lib/i18n/gettext/po_parser.rb#19
14
+ def _(x); end
15
+
16
+ def _reduce_10(val, _values, result); end
17
+ def _reduce_12(val, _values, result); end
18
+ def _reduce_13(val, _values, result); end
19
+ def _reduce_14(val, _values, result); end
20
+ def _reduce_15(val, _values, result); end
21
+ def _reduce_5(val, _values, result); end
22
+ def _reduce_8(val, _values, result); end
23
+ def _reduce_9(val, _values, result); end
24
+
25
+ # source://i18n//lib/i18n/gettext/po_parser.rb#323
26
+ def _reduce_none(val, _values, result); end
27
+
28
+ def next_token; end
29
+ def on_comment(comment); end
30
+ def on_message(msgid, msgstr); end
31
+ def parse(str, data, ignore_fuzzy = T.unsafe(nil)); end
32
+ def unescape(orig); end
33
+ end
34
+
35
+ # source://i18n//lib/i18n/gettext/po_parser.rb#184
36
+ GetText::PoParser::Racc_arg = T.let(T.unsafe(nil), Array)
37
+
38
+ # source://i18n//lib/i18n/gettext/po_parser.rb#221
39
+ GetText::PoParser::Racc_debug_parser = T.let(T.unsafe(nil), TrueClass)
40
+
41
+ # source://i18n//lib/i18n/gettext/po_parser.rb#200
42
+ GetText::PoParser::Racc_token_to_s_table = T.let(T.unsafe(nil), Array)
43
+
44
+ # source://i18n//lib/i18n/version.rb#3
45
+ module I18n
46
+ extend ::I18n::Base
47
+
48
+ class << self
49
+ # source://i18n//lib/i18n/backend/cache.rb#64
50
+ def cache_key_digest; end
51
+
52
+ # source://i18n//lib/i18n/backend/cache.rb#68
53
+ def cache_key_digest=(key_digest); end
54
+
55
+ # source://i18n//lib/i18n/backend/cache.rb#56
56
+ def cache_namespace; end
57
+
58
+ # source://i18n//lib/i18n/backend/cache.rb#60
59
+ def cache_namespace=(namespace); end
60
+
61
+ # source://i18n//lib/i18n/backend/cache.rb#48
62
+ def cache_store; end
63
+
64
+ # source://i18n//lib/i18n/backend/cache.rb#52
65
+ def cache_store=(store); end
66
+
67
+ # source://i18n//lib/i18n/backend/fallbacks.rb#17
68
+ def fallbacks; end
69
+
70
+ # source://i18n//lib/i18n/backend/fallbacks.rb#23
71
+ def fallbacks=(fallbacks); end
72
+
73
+ # source://i18n//lib/i18n/interpolate/ruby.rb#23
74
+ def interpolate(string, values); end
75
+
76
+ # source://i18n//lib/i18n/interpolate/ruby.rb#29
77
+ def interpolate_hash(string, values); end
78
+
79
+ # source://i18n//lib/i18n.rb#38
80
+ def new_double_nested_cache; end
81
+
82
+ # source://i18n//lib/i18n/backend/cache.rb#72
83
+ def perform_caching?; end
84
+
85
+ # source://i18n//lib/i18n.rb#46
86
+ def reserve_key(key); end
87
+
88
+ # source://i18n//lib/i18n.rb#51
89
+ def reserved_keys_pattern; end
90
+ end
91
+ end
92
+
93
+ # source://i18n//lib/i18n/exceptions.rb#16
94
+ class I18n::ArgumentError < ::ArgumentError; end
95
+
96
+ # source://i18n//lib/i18n/backend.rb#4
97
+ module I18n::Backend; end
98
+
99
+ # source://i18n//lib/i18n/backend/base.rb#8
100
+ module I18n::Backend::Base
101
+ include ::I18n::Backend::Transliterator
102
+
103
+ # source://i18n//lib/i18n/backend/base.rb#97
104
+ def available_locales; end
105
+
106
+ # source://i18n//lib/i18n/backend/base.rb#105
107
+ def eager_load!; end
108
+
109
+ # source://i18n//lib/i18n/backend/base.rb#71
110
+ def exists?(locale, key, options = T.unsafe(nil)); end
111
+
112
+ # source://i18n//lib/i18n/backend/base.rb#14
113
+ def load_translations(*filenames); end
114
+
115
+ # source://i18n//lib/i18n/backend/base.rb#78
116
+ def localize(locale, object, format = T.unsafe(nil), options = T.unsafe(nil)); end
117
+
118
+ # source://i18n//lib/i18n/backend/base.rb#101
119
+ def reload!; end
120
+
121
+ # source://i18n//lib/i18n/backend/base.rb#24
122
+ def store_translations(locale, data, options = T.unsafe(nil)); end
123
+
124
+ # source://i18n//lib/i18n/backend/base.rb#28
125
+ def translate(locale, key, options = T.unsafe(nil)); end
126
+
127
+ protected
128
+
129
+ # source://i18n//lib/i18n/backend/base.rb#217
130
+ def deep_interpolate(locale, data, values = T.unsafe(nil)); end
131
+
132
+ # source://i18n//lib/i18n/backend/base.rb#128
133
+ def default(locale, object, subject, options = T.unsafe(nil)); end
134
+
135
+ # source://i18n//lib/i18n/backend/base.rb#111
136
+ def eager_loaded?; end
137
+
138
+ # source://i18n//lib/i18n/backend/base.rb#201
139
+ def interpolate(locale, subject, values = T.unsafe(nil)); end
140
+
141
+ # source://i18n//lib/i18n/backend/base.rb#240
142
+ def load_file(filename); end
143
+
144
+ # source://i18n//lib/i18n/backend/base.rb#276
145
+ def load_json(filename); end
146
+
147
+ # source://i18n//lib/i18n/backend/base.rb#254
148
+ def load_rb(filename); end
149
+
150
+ # source://i18n//lib/i18n/backend/base.rb#261
151
+ def load_yaml(filename); end
152
+
153
+ # source://i18n//lib/i18n/backend/base.rb#261
154
+ def load_yml(filename); end
155
+
156
+ # source://i18n//lib/i18n/backend/base.rb#116
157
+ def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end
158
+
159
+ # source://i18n//lib/i18n/backend/base.rb#308
160
+ def pluralization_key(entry, count); end
161
+
162
+ # source://i18n//lib/i18n/backend/base.rb#182
163
+ def pluralize(locale, entry, count); end
164
+
165
+ # source://i18n//lib/i18n/backend/base.rb#150
166
+ def resolve(locale, object, subject, options = T.unsafe(nil)); end
167
+
168
+ # source://i18n//lib/i18n/backend/base.rb#150
169
+ def resolve_entry(locale, object, subject, options = T.unsafe(nil)); end
170
+
171
+ # source://i18n//lib/i18n/backend/base.rb#120
172
+ def subtrees?; end
173
+
174
+ # source://i18n//lib/i18n/backend/base.rb#289
175
+ def translate_localization_format(locale, object, format, options); end
176
+ end
177
+
178
+ # source://i18n//lib/i18n/backend/cache.rb#79
179
+ module I18n::Backend::Cache
180
+ # source://i18n//lib/i18n/backend/cache.rb#80
181
+ def translate(locale, key, options = T.unsafe(nil)); end
182
+
183
+ protected
184
+
185
+ # source://i18n//lib/i18n/backend/cache.rb#93
186
+ def _fetch(cache_key, &block); end
187
+
188
+ # source://i18n//lib/i18n/backend/cache.rb#101
189
+ def cache_key(locale, key, options); end
190
+
191
+ # source://i18n//lib/i18n/backend/cache.rb#86
192
+ def fetch(cache_key, &block); end
193
+
194
+ private
195
+
196
+ # source://i18n//lib/i18n/backend/cache.rb#108
197
+ def digest_item(key); end
198
+ end
199
+
200
+ # source://i18n//lib/i18n/backend/cache_file.rb#8
201
+ module I18n::Backend::CacheFile
202
+ # source://i18n//lib/i18n/backend/cache_file.rb#11
203
+ def path_roots; end
204
+
205
+ # source://i18n//lib/i18n/backend/cache_file.rb#11
206
+ def path_roots=(_arg0); end
207
+
208
+ protected
209
+
210
+ # source://i18n//lib/i18n/backend/cache_file.rb#17
211
+ def load_file(filename); end
212
+
213
+ # source://i18n//lib/i18n/backend/cache_file.rb#28
214
+ def normalized_path(file); end
215
+ end
216
+
217
+ # source://i18n//lib/i18n/backend/cascade.rb#35
218
+ module I18n::Backend::Cascade
219
+ # source://i18n//lib/i18n/backend/cascade.rb#36
220
+ def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end
221
+ end
222
+
223
+ # source://i18n//lib/i18n/backend/chain.rb#21
224
+ class I18n::Backend::Chain
225
+ include ::I18n::Backend::Transliterator
226
+ include ::I18n::Backend::Base
227
+ include ::I18n::Backend::Chain::Implementation
228
+ end
229
+
230
+ # source://i18n//lib/i18n/backend/chain.rb#22
231
+ module I18n::Backend::Chain::Implementation
232
+ include ::I18n::Backend::Transliterator
233
+ include ::I18n::Backend::Base
234
+
235
+ # source://i18n//lib/i18n/backend/chain.rb#27
236
+ def initialize(*backends); end
237
+
238
+ # source://i18n//lib/i18n/backend/chain.rb#52
239
+ def available_locales; end
240
+
241
+ # source://i18n//lib/i18n/backend/chain.rb#25
242
+ def backends; end
243
+
244
+ # source://i18n//lib/i18n/backend/chain.rb#25
245
+ def backends=(_arg0); end
246
+
247
+ # source://i18n//lib/i18n/backend/chain.rb#44
248
+ def eager_load!; end
249
+
250
+ # source://i18n//lib/i18n/backend/chain.rb#76
251
+ def exists?(locale, key, options = T.unsafe(nil)); end
252
+
253
+ # source://i18n//lib/i18n/backend/chain.rb#31
254
+ def initialized?; end
255
+
256
+ # source://i18n//lib/i18n/backend/chain.rb#82
257
+ def localize(locale, object, format = T.unsafe(nil), options = T.unsafe(nil)); end
258
+
259
+ # source://i18n//lib/i18n/backend/chain.rb#40
260
+ def reload!; end
261
+
262
+ # source://i18n//lib/i18n/backend/chain.rb#48
263
+ def store_translations(locale, data, options = T.unsafe(nil)); end
264
+
265
+ # source://i18n//lib/i18n/backend/chain.rb#56
266
+ def translate(locale, key, default_options = T.unsafe(nil)); end
267
+
268
+ protected
269
+
270
+ # source://i18n//lib/i18n/backend/chain.rb#92
271
+ def init_translations; end
272
+
273
+ # source://i18n//lib/i18n/backend/chain.rb#108
274
+ def namespace_lookup?(result, options); end
275
+
276
+ # source://i18n//lib/i18n/backend/chain.rb#98
277
+ def translations; end
278
+
279
+ private
280
+
281
+ # source://i18n//lib/i18n/backend/chain.rb#117
282
+ def _deep_merge(hash, other_hash); end
283
+ end
284
+
285
+ # source://i18n//lib/i18n/backend/fallbacks.rb#30
286
+ module I18n::Backend::Fallbacks
287
+ # source://i18n//lib/i18n/backend/fallbacks.rb#98
288
+ def exists?(locale, key, options = T.unsafe(nil)); end
289
+
290
+ # source://i18n//lib/i18n/backend/fallbacks.rb#89
291
+ def extract_non_symbol_default!(options); end
292
+
293
+ # source://i18n//lib/i18n/backend/fallbacks.rb#67
294
+ def resolve_entry(locale, object, subject, options = T.unsafe(nil)); end
295
+
296
+ # source://i18n//lib/i18n/backend/fallbacks.rb#41
297
+ def translate(locale, key, options = T.unsafe(nil)); end
298
+
299
+ private
300
+
301
+ # source://i18n//lib/i18n/backend/fallbacks.rb#114
302
+ def on_fallback(_original_locale, _fallback_locale, _key, _options); end
303
+ end
304
+
305
+ # source://i18n//lib/i18n/backend/flatten.rb#13
306
+ module I18n::Backend::Flatten
307
+ # source://i18n//lib/i18n/backend/flatten.rb#59
308
+ def flatten_keys(hash, escape, prev_key = T.unsafe(nil), &block); end
309
+
310
+ # source://i18n//lib/i18n/backend/flatten.rb#74
311
+ def flatten_translations(locale, data, escape, subtree); end
312
+
313
+ # source://i18n//lib/i18n/backend/flatten.rb#50
314
+ def links; end
315
+
316
+ # source://i18n//lib/i18n/backend/flatten.rb#44
317
+ def normalize_flat_keys(locale, key, scope, separator); end
318
+
319
+ protected
320
+
321
+ # source://i18n//lib/i18n/backend/flatten.rb#112
322
+ def escape_default_separator(key); end
323
+
324
+ # source://i18n//lib/i18n/backend/flatten.rb#106
325
+ def find_link(locale, key); end
326
+
327
+ # source://i18n//lib/i18n/backend/flatten.rb#93
328
+ def resolve_link(locale, key); end
329
+
330
+ # source://i18n//lib/i18n/backend/flatten.rb#89
331
+ def store_link(locale, key, link); end
332
+
333
+ class << self
334
+ # source://i18n//lib/i18n/backend/flatten.rb#38
335
+ def escape_default_separator(key); end
336
+
337
+ # source://i18n//lib/i18n/backend/flatten.rb#20
338
+ def normalize_flat_keys(locale, key, scope, separator); end
339
+ end
340
+ end
341
+
342
+ # source://i18n//lib/i18n/backend/flatten.rb#15
343
+ I18n::Backend::Flatten::FLATTEN_SEPARATOR = T.let(T.unsafe(nil), String)
344
+
345
+ # source://i18n//lib/i18n/backend/flatten.rb#14
346
+ I18n::Backend::Flatten::SEPARATOR_ESCAPE_CHAR = T.let(T.unsafe(nil), String)
347
+
348
+ # source://i18n//lib/i18n/backend/gettext.rb#33
349
+ module I18n::Backend::Gettext
350
+ protected
351
+
352
+ # source://i18n//lib/i18n/backend/gettext.rb#41
353
+ def load_po(filename); end
354
+
355
+ # source://i18n//lib/i18n/backend/gettext.rb#51
356
+ def normalize(locale, data); end
357
+
358
+ # source://i18n//lib/i18n/backend/gettext.rb#68
359
+ def normalize_pluralization(locale, key, value); end
360
+
361
+ # source://i18n//lib/i18n/backend/gettext.rb#47
362
+ def parse(filename); end
363
+ end
364
+
365
+ # source://i18n//lib/i18n/backend/gettext.rb#34
366
+ class I18n::Backend::Gettext::PoData < ::Hash
367
+ # source://i18n//lib/i18n/backend/gettext.rb#35
368
+ def set_comment(msgid_or_sym, comment); end
369
+ end
370
+
371
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#20
372
+ module I18n::Backend::InterpolationCompiler
373
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#97
374
+ def interpolate(locale, string, values); end
375
+
376
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#107
377
+ def store_translations(locale, data, options = T.unsafe(nil)); end
378
+
379
+ protected
380
+
381
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#113
382
+ def compile_all_strings_in(data); end
383
+ end
384
+
385
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#21
386
+ module I18n::Backend::InterpolationCompiler::Compiler
387
+ extend ::I18n::Backend::InterpolationCompiler::Compiler
388
+
389
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#26
390
+ def compile_if_an_interpolation(string); end
391
+
392
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#38
393
+ def interpolated_str?(str); end
394
+
395
+ protected
396
+
397
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#58
398
+ def compile_interpolation_token(key); end
399
+
400
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#48
401
+ def compiled_interpolation_body(str); end
402
+
403
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#71
404
+ def direct_key(key); end
405
+
406
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#91
407
+ def escape_key_sym(key); end
408
+
409
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#87
410
+ def escape_plain_str(str); end
411
+
412
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#54
413
+ def handle_interpolation_token(token); end
414
+
415
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#67
416
+ def interpolate_key(key); end
417
+
418
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#62
419
+ def interpolate_or_raise_missing(key); end
420
+
421
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#79
422
+ def missing_key(key); end
423
+
424
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#75
425
+ def nil_key(key); end
426
+
427
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#83
428
+ def reserved_key(key); end
429
+
430
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#44
431
+ def tokenize(str); end
432
+ end
433
+
434
+ # source://i18n//lib/i18n/backend/interpolation_compiler.rb#24
435
+ I18n::Backend::InterpolationCompiler::Compiler::TOKENIZER = T.let(T.unsafe(nil), Regexp)
436
+
437
+ # source://i18n//lib/i18n/backend/key_value.rb#69
438
+ class I18n::Backend::KeyValue
439
+ include ::I18n::Backend::Flatten
440
+ include ::I18n::Backend::Transliterator
441
+ include ::I18n::Backend::Base
442
+ include ::I18n::Backend::KeyValue::Implementation
443
+ end
444
+
445
+ # source://i18n//lib/i18n/backend/key_value.rb#70
446
+ module I18n::Backend::KeyValue::Implementation
447
+ include ::I18n::Backend::Flatten
448
+ include ::I18n::Backend::Transliterator
449
+ include ::I18n::Backend::Base
450
+
451
+ # source://i18n//lib/i18n/backend/key_value.rb#75
452
+ def initialize(store, subtrees = T.unsafe(nil)); end
453
+
454
+ # source://i18n//lib/i18n/backend/key_value.rb#102
455
+ def available_locales; end
456
+
457
+ # source://i18n//lib/i18n/backend/key_value.rb#79
458
+ def initialized?; end
459
+
460
+ # source://i18n//lib/i18n/backend/key_value.rb#71
461
+ def store; end
462
+
463
+ # source://i18n//lib/i18n/backend/key_value.rb#71
464
+ def store=(_arg0); end
465
+
466
+ # source://i18n//lib/i18n/backend/key_value.rb#83
467
+ def store_translations(locale, data, options = T.unsafe(nil)); end
468
+
469
+ protected
470
+
471
+ # source://i18n//lib/i18n/backend/key_value.rb#124
472
+ def init_translations; end
473
+
474
+ # source://i18n//lib/i18n/backend/key_value.rb#136
475
+ def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end
476
+
477
+ # source://i18n//lib/i18n/backend/key_value.rb#150
478
+ def pluralize(locale, entry, count); end
479
+
480
+ # source://i18n//lib/i18n/backend/key_value.rb#132
481
+ def subtrees?; end
482
+
483
+ # source://i18n//lib/i18n/backend/key_value.rb#115
484
+ def translations; end
485
+ end
486
+
487
+ # source://i18n//lib/i18n/backend/key_value.rb#161
488
+ class I18n::Backend::KeyValue::SubtreeProxy
489
+ # source://i18n//lib/i18n/backend/key_value.rb#162
490
+ def initialize(master_key, store); end
491
+
492
+ # source://i18n//lib/i18n/backend/key_value.rb#172
493
+ def [](key); end
494
+
495
+ # source://i18n//lib/i18n/backend/key_value.rb#168
496
+ def has_key?(key); end
497
+
498
+ # source://i18n//lib/i18n/backend/key_value.rb#196
499
+ def inspect; end
500
+
501
+ # source://i18n//lib/i18n/backend/key_value.rb#188
502
+ def instance_of?(klass); end
503
+
504
+ # source://i18n//lib/i18n/backend/key_value.rb#183
505
+ def is_a?(klass); end
506
+
507
+ # source://i18n//lib/i18n/backend/key_value.rb#183
508
+ def kind_of?(klass); end
509
+
510
+ # source://i18n//lib/i18n/backend/key_value.rb#192
511
+ def nil?; end
512
+ end
513
+
514
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#65
515
+ class I18n::Backend::LazyLoadable < ::I18n::Backend::Simple
516
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#66
517
+ def initialize(lazy_load: T.unsafe(nil)); end
518
+
519
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#99
520
+ def available_locales; end
521
+
522
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#90
523
+ def eager_load!; end
524
+
525
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#71
526
+ def initialized?; end
527
+
528
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#107
529
+ def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end
530
+
531
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#80
532
+ def reload!; end
533
+
534
+ protected
535
+
536
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#121
537
+ def init_translations; end
538
+
539
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#133
540
+ def initialized_locales; end
541
+
542
+ private
543
+
544
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#175
545
+ def assert_file_named_correctly!(file, translations); end
546
+
547
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#167
548
+ def filenames_for_current_locale; end
549
+
550
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#139
551
+ def lazy_load?; end
552
+
553
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#152
554
+ def load_translations_and_collect_file_errors(files); end
555
+ end
556
+
557
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#143
558
+ class I18n::Backend::LazyLoadable::FilenameIncorrect < ::StandardError
559
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#144
560
+ def initialize(file, expected_locale, unexpected_locales); end
561
+ end
562
+
563
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#55
564
+ class I18n::Backend::LocaleExtractor
565
+ class << self
566
+ # source://i18n//lib/i18n/backend/lazy_loadable.rb#57
567
+ def locale_from_path(path); end
568
+ end
569
+ end
570
+
571
+ # source://i18n//lib/i18n/backend/memoize.rb#14
572
+ module I18n::Backend::Memoize
573
+ # source://i18n//lib/i18n/backend/memoize.rb#15
574
+ def available_locales; end
575
+
576
+ # source://i18n//lib/i18n/backend/memoize.rb#29
577
+ def eager_load!; end
578
+
579
+ # source://i18n//lib/i18n/backend/memoize.rb#24
580
+ def reload!; end
581
+
582
+ # source://i18n//lib/i18n/backend/memoize.rb#19
583
+ def store_translations(locale, data, options = T.unsafe(nil)); end
584
+
585
+ protected
586
+
587
+ # source://i18n//lib/i18n/backend/memoize.rb#37
588
+ def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end
589
+
590
+ # source://i18n//lib/i18n/backend/memoize.rb#44
591
+ def memoized_lookup; end
592
+
593
+ # source://i18n//lib/i18n/backend/memoize.rb#48
594
+ def reset_memoizations!(locale = T.unsafe(nil)); end
595
+ end
596
+
597
+ # source://i18n//lib/i18n/backend/metadata.rb#21
598
+ module I18n::Backend::Metadata
599
+ # source://i18n//lib/i18n/backend/metadata.rb#52
600
+ def interpolate(locale, entry, values = T.unsafe(nil)); end
601
+
602
+ # source://i18n//lib/i18n/backend/metadata.rb#57
603
+ def pluralize(locale, entry, count); end
604
+
605
+ # source://i18n//lib/i18n/backend/metadata.rb#40
606
+ def translate(locale, key, options = T.unsafe(nil)); end
607
+
608
+ protected
609
+
610
+ # source://i18n//lib/i18n/backend/metadata.rb#63
611
+ def with_metadata(metadata, &block); end
612
+
613
+ class << self
614
+ # source://i18n//lib/i18n/backend/metadata.rb#23
615
+ def included(base); end
616
+ end
617
+ end
618
+
619
+ # source://i18n//lib/i18n/backend/pluralization.rb#16
620
+ module I18n::Backend::Pluralization
621
+ # source://i18n//lib/i18n/backend/pluralization.rb#39
622
+ def pluralize(locale, entry, count); end
623
+
624
+ protected
625
+
626
+ # source://i18n//lib/i18n/backend/pluralization.rb#81
627
+ def pluralizer(locale); end
628
+
629
+ # source://i18n//lib/i18n/backend/pluralization.rb#77
630
+ def pluralizers; end
631
+
632
+ private
633
+
634
+ # source://i18n//lib/i18n/backend/pluralization.rb#89
635
+ def symbolic_count(count); end
636
+ end
637
+
638
+ # source://i18n//lib/i18n/backend/simple.rb#21
639
+ class I18n::Backend::Simple
640
+ include ::I18n::Backend::Transliterator
641
+ include ::I18n::Backend::Base
642
+ include ::I18n::Backend::Simple::Implementation
643
+ end
644
+
645
+ # source://i18n//lib/i18n/backend/simple.rb#22
646
+ module I18n::Backend::Simple::Implementation
647
+ include ::I18n::Backend::Transliterator
648
+ include ::I18n::Backend::Base
649
+
650
+ # source://i18n//lib/i18n/backend/simple.rb#49
651
+ def available_locales; end
652
+
653
+ # source://i18n//lib/i18n/backend/simple.rb#64
654
+ def eager_load!; end
655
+
656
+ # source://i18n//lib/i18n/backend/simple.rb#28
657
+ def initialized?; end
658
+
659
+ # source://i18n//lib/i18n/backend/simple.rb#58
660
+ def reload!; end
661
+
662
+ # source://i18n//lib/i18n/backend/simple.rb#36
663
+ def store_translations(locale, data, options = T.unsafe(nil)); end
664
+
665
+ # source://i18n//lib/i18n/backend/simple.rb#69
666
+ def translations(do_init: T.unsafe(nil)); end
667
+
668
+ protected
669
+
670
+ # source://i18n//lib/i18n/backend/simple.rb#83
671
+ def init_translations; end
672
+
673
+ # source://i18n//lib/i18n/backend/simple.rb#93
674
+ def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end
675
+ end
676
+
677
+ # source://i18n//lib/i18n/backend/simple.rb#26
678
+ I18n::Backend::Simple::Implementation::MUTEX = T.let(T.unsafe(nil), Thread::Mutex)
679
+
680
+ # source://i18n//lib/i18n/backend/transliterator.rb#6
681
+ module I18n::Backend::Transliterator
682
+ # source://i18n//lib/i18n/backend/transliterator.rb#11
683
+ def transliterate(locale, string, replacement = T.unsafe(nil)); end
684
+
685
+ class << self
686
+ # source://i18n//lib/i18n/backend/transliterator.rb#19
687
+ def get(rule = T.unsafe(nil)); end
688
+ end
689
+ end
690
+
691
+ # source://i18n//lib/i18n/backend/transliterator.rb#7
692
+ I18n::Backend::Transliterator::DEFAULT_REPLACEMENT_CHAR = T.let(T.unsafe(nil), String)
693
+
694
+ # source://i18n//lib/i18n/backend/transliterator.rb#42
695
+ class I18n::Backend::Transliterator::HashTransliterator
696
+ # source://i18n//lib/i18n/backend/transliterator.rb#74
697
+ def initialize(rule = T.unsafe(nil)); end
698
+
699
+ # source://i18n//lib/i18n/backend/transliterator.rb#80
700
+ def transliterate(string, replacement = T.unsafe(nil)); end
701
+
702
+ private
703
+
704
+ # source://i18n//lib/i18n/backend/transliterator.rb#100
705
+ def add(hash); end
706
+
707
+ # source://i18n//lib/i18n/backend/transliterator.rb#93
708
+ def add_default_approximations; end
709
+
710
+ # source://i18n//lib/i18n/backend/transliterator.rb#89
711
+ def approximations; end
712
+ end
713
+
714
+ # source://i18n//lib/i18n/backend/transliterator.rb#43
715
+ I18n::Backend::Transliterator::HashTransliterator::DEFAULT_APPROXIMATIONS = T.let(T.unsafe(nil), Hash)
716
+
717
+ # source://i18n//lib/i18n/backend/transliterator.rb#30
718
+ class I18n::Backend::Transliterator::ProcTransliterator
719
+ # source://i18n//lib/i18n/backend/transliterator.rb#31
720
+ def initialize(rule); end
721
+
722
+ # source://i18n//lib/i18n/backend/transliterator.rb#35
723
+ def transliterate(string, replacement = T.unsafe(nil)); end
724
+ end
725
+
726
+ # source://i18n//lib/i18n.rb#55
727
+ module I18n::Base
728
+ # source://i18n//lib/i18n.rb#70
729
+ def available_locales; end
730
+
731
+ # source://i18n//lib/i18n.rb#74
732
+ def available_locales=(value); end
733
+
734
+ # source://i18n//lib/i18n.rb#386
735
+ def available_locales_initialized?; end
736
+
737
+ # source://i18n//lib/i18n.rb#70
738
+ def backend; end
739
+
740
+ # source://i18n//lib/i18n.rb#74
741
+ def backend=(value); end
742
+
743
+ # source://i18n//lib/i18n.rb#57
744
+ def config; end
745
+
746
+ # source://i18n//lib/i18n.rb#62
747
+ def config=(value); end
748
+
749
+ # source://i18n//lib/i18n.rb#70
750
+ def default_locale; end
751
+
752
+ # source://i18n//lib/i18n.rb#74
753
+ def default_locale=(value); end
754
+
755
+ # source://i18n//lib/i18n.rb#70
756
+ def default_separator; end
757
+
758
+ # source://i18n//lib/i18n.rb#74
759
+ def default_separator=(value); end
760
+
761
+ # source://i18n//lib/i18n.rb#91
762
+ def eager_load!; end
763
+
764
+ # source://i18n//lib/i18n.rb#70
765
+ def enforce_available_locales; end
766
+
767
+ # source://i18n//lib/i18n.rb#380
768
+ def enforce_available_locales!(locale); end
769
+
770
+ # source://i18n//lib/i18n.rb#74
771
+ def enforce_available_locales=(value); end
772
+
773
+ # source://i18n//lib/i18n.rb#70
774
+ def exception_handler; end
775
+
776
+ # source://i18n//lib/i18n.rb#74
777
+ def exception_handler=(value); end
778
+
779
+ # source://i18n//lib/i18n.rb#265
780
+ def exists?(key, _locale = T.unsafe(nil), locale: T.unsafe(nil), **options); end
781
+
782
+ # source://i18n//lib/i18n.rb#254
783
+ def interpolation_keys(key, **options); end
784
+
785
+ # source://i18n//lib/i18n.rb#335
786
+ def l(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end
787
+
788
+ # source://i18n//lib/i18n.rb#70
789
+ def load_path; end
790
+
791
+ # source://i18n//lib/i18n.rb#74
792
+ def load_path=(value); end
793
+
794
+ # source://i18n//lib/i18n.rb#70
795
+ def locale; end
796
+
797
+ # source://i18n//lib/i18n.rb#74
798
+ def locale=(value); end
799
+
800
+ # source://i18n//lib/i18n.rb#375
801
+ def locale_available?(locale); end
802
+
803
+ # source://i18n//lib/i18n.rb#335
804
+ def localize(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end
805
+
806
+ # source://i18n//lib/i18n.rb#363
807
+ def normalize_keys(locale, key, scope, separator = T.unsafe(nil)); end
808
+
809
+ # source://i18n//lib/i18n.rb#83
810
+ def reload!; end
811
+
812
+ # source://i18n//lib/i18n.rb#211
813
+ def t(key = T.unsafe(nil), throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), **options); end
814
+
815
+ # source://i18n//lib/i18n.rb#230
816
+ def t!(key, **options); end
817
+
818
+ # source://i18n//lib/i18n.rb#211
819
+ def translate(key = T.unsafe(nil), throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), **options); end
820
+
821
+ # source://i18n//lib/i18n.rb#230
822
+ def translate!(key, **options); end
823
+
824
+ # source://i18n//lib/i18n.rb#324
825
+ def transliterate(key, throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), replacement: T.unsafe(nil), **options); end
826
+
827
+ # source://i18n//lib/i18n.rb#346
828
+ def with_locale(tmp_locale = T.unsafe(nil)); end
829
+
830
+ private
831
+
832
+ # source://i18n//lib/i18n.rb#422
833
+ def handle_exception(handling, exception, locale, key, options); end
834
+
835
+ # source://i18n//lib/i18n.rb#464
836
+ def interpolation_keys_from_translation(translation); end
837
+
838
+ # source://i18n//lib/i18n.rb#440
839
+ def normalize_key(key, separator); end
840
+
841
+ # source://i18n//lib/i18n.rb#392
842
+ def translate_key(key, throw, raise, locale, backend, options); end
843
+ end
844
+
845
+ # source://i18n//lib/i18n/config.rb#6
846
+ class I18n::Config
847
+ # source://i18n//lib/i18n/config.rb#43
848
+ def available_locales; end
849
+
850
+ # source://i18n//lib/i18n/config.rb#57
851
+ def available_locales=(locales); end
852
+
853
+ # source://i18n//lib/i18n/config.rb#64
854
+ def available_locales_initialized?; end
855
+
856
+ # source://i18n//lib/i18n/config.rb#50
857
+ def available_locales_set; end
858
+
859
+ # source://i18n//lib/i18n/config.rb#20
860
+ def backend; end
861
+
862
+ # source://i18n//lib/i18n/config.rb#25
863
+ def backend=(backend); end
864
+
865
+ # source://i18n//lib/i18n/config.rb#70
866
+ def clear_available_locales_set; end
867
+
868
+ # source://i18n//lib/i18n/config.rb#30
869
+ def default_locale; end
870
+
871
+ # source://i18n//lib/i18n/config.rb#35
872
+ def default_locale=(locale); end
873
+
874
+ # source://i18n//lib/i18n/config.rb#75
875
+ def default_separator; end
876
+
877
+ # source://i18n//lib/i18n/config.rb#80
878
+ def default_separator=(separator); end
879
+
880
+ # source://i18n//lib/i18n/config.rb#141
881
+ def enforce_available_locales; end
882
+
883
+ # source://i18n//lib/i18n/config.rb#145
884
+ def enforce_available_locales=(enforce_available_locales); end
885
+
886
+ # source://i18n//lib/i18n/config.rb#86
887
+ def exception_handler; end
888
+
889
+ # source://i18n//lib/i18n/config.rb#91
890
+ def exception_handler=(exception_handler); end
891
+
892
+ # source://i18n//lib/i18n/config.rb#151
893
+ def interpolation_patterns; end
894
+
895
+ # source://i18n//lib/i18n/config.rb#161
896
+ def interpolation_patterns=(interpolation_patterns); end
897
+
898
+ # source://i18n//lib/i18n/config.rb#126
899
+ def load_path; end
900
+
901
+ # source://i18n//lib/i18n/config.rb#132
902
+ def load_path=(load_path); end
903
+
904
+ # source://i18n//lib/i18n/config.rb#9
905
+ def locale; end
906
+
907
+ # source://i18n//lib/i18n/config.rb#14
908
+ def locale=(locale); end
909
+
910
+ # source://i18n//lib/i18n/config.rb#97
911
+ def missing_interpolation_argument_handler; end
912
+
913
+ # source://i18n//lib/i18n/config.rb#114
914
+ def missing_interpolation_argument_handler=(exception_handler); end
915
+ end
916
+
917
+ # source://i18n//lib/i18n/interpolate/ruby.rb#7
918
+ I18n::DEFAULT_INTERPOLATION_PATTERNS = T.let(T.unsafe(nil), Array)
919
+
920
+ # source://i18n//lib/i18n/exceptions.rb#18
921
+ class I18n::Disabled < ::I18n::ArgumentError
922
+ # source://i18n//lib/i18n/exceptions.rb#19
923
+ def initialize(method); end
924
+ end
925
+
926
+ # source://i18n//lib/i18n.rb#36
927
+ I18n::EMPTY_HASH = T.let(T.unsafe(nil), Hash)
928
+
929
+ # source://i18n//lib/i18n/exceptions.rb#6
930
+ class I18n::ExceptionHandler
931
+ # source://i18n//lib/i18n/exceptions.rb#7
932
+ def call(exception, _locale, _key, _options); end
933
+ end
934
+
935
+ # source://i18n//lib/i18n/gettext.rb#4
936
+ module I18n::Gettext
937
+ class << self
938
+ # source://i18n//lib/i18n/gettext.rb#21
939
+ def extract_scope(msgid, separator); end
940
+
941
+ # source://i18n//lib/i18n/gettext.rb#17
942
+ def plural_keys(*args); end
943
+ end
944
+ end
945
+
946
+ # source://i18n//lib/i18n/gettext.rb#6
947
+ I18n::Gettext::CONTEXT_SEPARATOR = T.let(T.unsafe(nil), String)
948
+
949
+ # source://i18n//lib/i18n/gettext/helpers.rb#11
950
+ module I18n::Gettext::Helpers
951
+ # source://i18n//lib/i18n/gettext/helpers.rb#17
952
+ def N_(msgsid); end
953
+
954
+ # source://i18n//lib/i18n/gettext/helpers.rb#21
955
+ def _(msgid, options = T.unsafe(nil)); end
956
+
957
+ # source://i18n//lib/i18n/gettext/helpers.rb#21
958
+ def gettext(msgid, options = T.unsafe(nil)); end
959
+
960
+ # source://i18n//lib/i18n/gettext/helpers.rb#38
961
+ def n_(msgid, msgid_plural, n = T.unsafe(nil)); end
962
+
963
+ # source://i18n//lib/i18n/gettext/helpers.rb#38
964
+ def ngettext(msgid, msgid_plural, n = T.unsafe(nil)); end
965
+
966
+ # source://i18n//lib/i18n/gettext/helpers.rb#61
967
+ def np_(msgctxt, msgid, msgid_plural, n = T.unsafe(nil)); end
968
+
969
+ # source://i18n//lib/i18n/gettext/helpers.rb#61
970
+ def npgettext(msgctxt, msgid, msgid_plural, n = T.unsafe(nil)); end
971
+
972
+ # source://i18n//lib/i18n/gettext/helpers.rb#46
973
+ def ns_(msgid, msgid_plural, n = T.unsafe(nil), separator = T.unsafe(nil)); end
974
+
975
+ # source://i18n//lib/i18n/gettext/helpers.rb#46
976
+ def nsgettext(msgid, msgid_plural, n = T.unsafe(nil), separator = T.unsafe(nil)); end
977
+
978
+ # source://i18n//lib/i18n/gettext/helpers.rb#32
979
+ def p_(msgctxt, msgid); end
980
+
981
+ # source://i18n//lib/i18n/gettext/helpers.rb#32
982
+ def pgettext(msgctxt, msgid); end
983
+
984
+ # source://i18n//lib/i18n/gettext/helpers.rb#26
985
+ def s_(msgid, separator = T.unsafe(nil)); end
986
+
987
+ # source://i18n//lib/i18n/gettext/helpers.rb#26
988
+ def sgettext(msgid, separator = T.unsafe(nil)); end
989
+ end
990
+
991
+ # source://i18n//lib/i18n/gettext.rb#5
992
+ I18n::Gettext::PLURAL_SEPARATOR = T.let(T.unsafe(nil), String)
993
+
994
+ # source://i18n//lib/i18n/interpolate/ruby.rb#12
995
+ I18n::INTERPOLATION_PATTERN = T.let(T.unsafe(nil), Regexp)
996
+
997
+ # source://i18n//lib/i18n/interpolate/ruby.rb#15
998
+ I18n::INTERPOLATION_PATTERNS_CACHE = T.let(T.unsafe(nil), Hash)
999
+
1000
+ # source://i18n//lib/i18n/exceptions.rb#134
1001
+ class I18n::InvalidFilenames < ::I18n::ArgumentError
1002
+ # source://i18n//lib/i18n/exceptions.rb#136
1003
+ def initialize(file_errors); end
1004
+ end
1005
+
1006
+ # source://i18n//lib/i18n/exceptions.rb#135
1007
+ I18n::InvalidFilenames::NUMBER_OF_ERRORS_SHOWN = T.let(T.unsafe(nil), Integer)
1008
+
1009
+ # source://i18n//lib/i18n/exceptions.rb#32
1010
+ class I18n::InvalidLocale < ::I18n::ArgumentError
1011
+ # source://i18n//lib/i18n/exceptions.rb#34
1012
+ def initialize(locale); end
1013
+
1014
+ # source://i18n//lib/i18n/exceptions.rb#33
1015
+ def locale; end
1016
+ end
1017
+
1018
+ # source://i18n//lib/i18n/exceptions.rb#40
1019
+ class I18n::InvalidLocaleData < ::I18n::ArgumentError
1020
+ # source://i18n//lib/i18n/exceptions.rb#42
1021
+ def initialize(filename, exception_message); end
1022
+
1023
+ # source://i18n//lib/i18n/exceptions.rb#41
1024
+ def filename; end
1025
+ end
1026
+
1027
+ # source://i18n//lib/i18n/exceptions.rb#92
1028
+ class I18n::InvalidPluralizationData < ::I18n::ArgumentError
1029
+ # source://i18n//lib/i18n/exceptions.rb#94
1030
+ def initialize(entry, count, key); end
1031
+
1032
+ # source://i18n//lib/i18n/exceptions.rb#93
1033
+ def count; end
1034
+
1035
+ # source://i18n//lib/i18n/exceptions.rb#93
1036
+ def entry; end
1037
+
1038
+ # source://i18n//lib/i18n/exceptions.rb#93
1039
+ def key; end
1040
+ end
1041
+
1042
+ # source://i18n//lib/i18n/backend/key_value.rb#21
1043
+ I18n::JSON = ActiveSupport::JSON
1044
+
1045
+ # source://i18n//lib/i18n/locale.rb#4
1046
+ module I18n::Locale; end
1047
+
1048
+ # source://i18n//lib/i18n/locale/fallbacks.rb#48
1049
+ class I18n::Locale::Fallbacks < ::Hash
1050
+ # source://i18n//lib/i18n/locale/fallbacks.rb#49
1051
+ def initialize(*mappings); end
1052
+
1053
+ # source://i18n//lib/i18n/locale/fallbacks.rb#60
1054
+ def [](locale); end
1055
+
1056
+ # source://i18n//lib/i18n/locale/fallbacks.rb#58
1057
+ def defaults; end
1058
+
1059
+ # source://i18n//lib/i18n/locale/fallbacks.rb#55
1060
+ def defaults=(defaults); end
1061
+
1062
+ # source://i18n//lib/i18n/locale/fallbacks.rb#82
1063
+ def empty?; end
1064
+
1065
+ # source://i18n//lib/i18n/locale/fallbacks.rb#86
1066
+ def inspect; end
1067
+
1068
+ # source://i18n//lib/i18n/locale/fallbacks.rb#67
1069
+ def map(*args, &block); end
1070
+
1071
+ protected
1072
+
1073
+ # source://i18n//lib/i18n/locale/fallbacks.rb#92
1074
+ def compute(tags, include_defaults = T.unsafe(nil), exclude = T.unsafe(nil)); end
1075
+ end
1076
+
1077
+ # source://i18n//lib/i18n/locale/tag.rb#5
1078
+ module I18n::Locale::Tag
1079
+ class << self
1080
+ # source://i18n//lib/i18n/locale/tag.rb#12
1081
+ def implementation; end
1082
+
1083
+ # source://i18n//lib/i18n/locale/tag.rb#17
1084
+ def implementation=(implementation); end
1085
+
1086
+ # source://i18n//lib/i18n/locale/tag.rb#22
1087
+ def tag(tag); end
1088
+ end
1089
+ end
1090
+
1091
+ # source://i18n//lib/i18n/locale/tag/parents.rb#4
1092
+ module I18n::Locale::Tag::Parents
1093
+ # source://i18n//lib/i18n/locale/tag/parents.rb#5
1094
+ def parent; end
1095
+
1096
+ # source://i18n//lib/i18n/locale/tag/parents.rb#18
1097
+ def parents; end
1098
+
1099
+ # source://i18n//lib/i18n/locale/tag/parents.rb#14
1100
+ def self_and_parents; end
1101
+ end
1102
+
1103
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#12
1104
+ I18n::Locale::Tag::RFC4646_FORMATS = T.let(T.unsafe(nil), Hash)
1105
+
1106
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#11
1107
+ I18n::Locale::Tag::RFC4646_SUBTAGS = T.let(T.unsafe(nil), Array)
1108
+
1109
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#14
1110
+ class I18n::Locale::Tag::Rfc4646 < ::Struct
1111
+ include ::I18n::Locale::Tag::Parents
1112
+
1113
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#35
1114
+ def language; end
1115
+
1116
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#35
1117
+ def region; end
1118
+
1119
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#35
1120
+ def script; end
1121
+
1122
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#46
1123
+ def to_a; end
1124
+
1125
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#42
1126
+ def to_s; end
1127
+
1128
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#38
1129
+ def to_sym; end
1130
+
1131
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#35
1132
+ def variant; end
1133
+
1134
+ class << self
1135
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#23
1136
+ def parser; end
1137
+
1138
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#27
1139
+ def parser=(parser); end
1140
+
1141
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#18
1142
+ def tag(tag); end
1143
+ end
1144
+ end
1145
+
1146
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#50
1147
+ module I18n::Locale::Tag::Rfc4646::Parser
1148
+ class << self
1149
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#63
1150
+ def match(tag); end
1151
+ end
1152
+ end
1153
+
1154
+ # source://i18n//lib/i18n/locale/tag/rfc4646.rb#51
1155
+ I18n::Locale::Tag::Rfc4646::Parser::PATTERN = T.let(T.unsafe(nil), Regexp)
1156
+
1157
+ # source://i18n//lib/i18n/locale/tag/simple.rb#6
1158
+ class I18n::Locale::Tag::Simple
1159
+ include ::I18n::Locale::Tag::Parents
1160
+
1161
+ # source://i18n//lib/i18n/locale/tag/simple.rb#17
1162
+ def initialize(*tag); end
1163
+
1164
+ # source://i18n//lib/i18n/locale/tag/simple.rb#21
1165
+ def subtags; end
1166
+
1167
+ # source://i18n//lib/i18n/locale/tag/simple.rb#15
1168
+ def tag; end
1169
+
1170
+ # source://i18n//lib/i18n/locale/tag/simple.rb#33
1171
+ def to_a; end
1172
+
1173
+ # source://i18n//lib/i18n/locale/tag/simple.rb#29
1174
+ def to_s; end
1175
+
1176
+ # source://i18n//lib/i18n/locale/tag/simple.rb#25
1177
+ def to_sym; end
1178
+
1179
+ class << self
1180
+ # source://i18n//lib/i18n/locale/tag/simple.rb#8
1181
+ def tag(tag); end
1182
+ end
1183
+ end
1184
+
1185
+ # source://i18n//lib/i18n/middleware.rb#4
1186
+ class I18n::Middleware
1187
+ # source://i18n//lib/i18n/middleware.rb#6
1188
+ def initialize(app); end
1189
+
1190
+ # source://i18n//lib/i18n/middleware.rb#10
1191
+ def call(env); end
1192
+ end
1193
+
1194
+ # source://i18n//lib/i18n/exceptions.rb#100
1195
+ class I18n::MissingInterpolationArgument < ::I18n::ArgumentError
1196
+ # source://i18n//lib/i18n/exceptions.rb#102
1197
+ def initialize(key, values, string); end
1198
+
1199
+ # source://i18n//lib/i18n/exceptions.rb#101
1200
+ def key; end
1201
+
1202
+ # source://i18n//lib/i18n/exceptions.rb#101
1203
+ def string; end
1204
+
1205
+ # source://i18n//lib/i18n/exceptions.rb#101
1206
+ def values; end
1207
+ end
1208
+
1209
+ # source://i18n//lib/i18n/exceptions.rb#48
1210
+ class I18n::MissingTranslation < ::I18n::ArgumentError
1211
+ include ::I18n::MissingTranslation::Base
1212
+ end
1213
+
1214
+ # source://i18n//lib/i18n/exceptions.rb#49
1215
+ module I18n::MissingTranslation::Base
1216
+ # source://i18n//lib/i18n/exceptions.rb#54
1217
+ def initialize(locale, key, options = T.unsafe(nil)); end
1218
+
1219
+ # source://i18n//lib/i18n/exceptions.rb#52
1220
+ def key; end
1221
+
1222
+ # source://i18n//lib/i18n/exceptions.rb#59
1223
+ def keys; end
1224
+
1225
+ # source://i18n//lib/i18n/exceptions.rb#52
1226
+ def locale; end
1227
+
1228
+ # source://i18n//lib/i18n/exceptions.rb#65
1229
+ def message; end
1230
+
1231
+ # source://i18n//lib/i18n/exceptions.rb#74
1232
+ def normalized_option(key); end
1233
+
1234
+ # source://i18n//lib/i18n/exceptions.rb#52
1235
+ def options; end
1236
+
1237
+ # source://i18n//lib/i18n/exceptions.rb#80
1238
+ def to_exception; end
1239
+
1240
+ # source://i18n//lib/i18n/exceptions.rb#65
1241
+ def to_s; end
1242
+ end
1243
+
1244
+ # source://i18n//lib/i18n/exceptions.rb#50
1245
+ I18n::MissingTranslation::Base::PERMITTED_KEYS = T.let(T.unsafe(nil), Array)
1246
+
1247
+ # source://i18n//lib/i18n/exceptions.rb#88
1248
+ class I18n::MissingTranslationData < ::I18n::ArgumentError
1249
+ include ::I18n::MissingTranslation::Base
1250
+ end
1251
+
1252
+ # source://i18n//lib/i18n.rb#19
1253
+ I18n::RESERVED_KEYS = T.let(T.unsafe(nil), Array)
1254
+
1255
+ # source://i18n//lib/i18n/exceptions.rb#108
1256
+ class I18n::ReservedInterpolationKey < ::I18n::ArgumentError
1257
+ # source://i18n//lib/i18n/exceptions.rb#110
1258
+ def initialize(key, string); end
1259
+
1260
+ # source://i18n//lib/i18n/exceptions.rb#109
1261
+ def key; end
1262
+
1263
+ # source://i18n//lib/i18n/exceptions.rb#109
1264
+ def string; end
1265
+ end
1266
+
1267
+ # source://i18n//lib/i18n/tests.rb#4
1268
+ module I18n::Tests; end
1269
+
1270
+ # source://i18n//lib/i18n/tests/localization.rb#3
1271
+ module I18n::Tests::Localization
1272
+ class << self
1273
+ # source://i18n//lib/i18n/tests/localization.rb#9
1274
+ def included(base); end
1275
+ end
1276
+ end
1277
+
1278
+ # source://i18n//lib/i18n/exceptions.rb#116
1279
+ class I18n::UnknownFileType < ::I18n::ArgumentError
1280
+ # source://i18n//lib/i18n/exceptions.rb#118
1281
+ def initialize(type, filename); end
1282
+
1283
+ # source://i18n//lib/i18n/exceptions.rb#117
1284
+ def filename; end
1285
+
1286
+ # source://i18n//lib/i18n/exceptions.rb#117
1287
+ def type; end
1288
+ end
1289
+
1290
+ # source://i18n//lib/i18n/exceptions.rb#124
1291
+ class I18n::UnsupportedMethod < ::I18n::ArgumentError
1292
+ # source://i18n//lib/i18n/exceptions.rb#126
1293
+ def initialize(method, backend_klass, msg); end
1294
+
1295
+ # source://i18n//lib/i18n/exceptions.rb#125
1296
+ def backend_klass; end
1297
+
1298
+ # source://i18n//lib/i18n/exceptions.rb#125
1299
+ def method; end
1300
+
1301
+ # source://i18n//lib/i18n/exceptions.rb#125
1302
+ def msg; end
1303
+ end
1304
+
1305
+ # source://i18n//lib/i18n/utils.rb#4
1306
+ module I18n::Utils
1307
+ class << self
1308
+ # source://i18n//lib/i18n/utils.rb#18
1309
+ def deep_merge(hash, other_hash, &block); end
1310
+
1311
+ # source://i18n//lib/i18n/utils.rb#22
1312
+ def deep_merge!(hash, other_hash, &block); end
1313
+
1314
+ # source://i18n//lib/i18n/utils.rb#34
1315
+ def deep_symbolize_keys(hash); end
1316
+
1317
+ # source://i18n//lib/i18n/utils.rb#7
1318
+ def except(hash, *keys); end
1319
+
1320
+ private
1321
+
1322
+ # source://i18n//lib/i18n/utils.rb#43
1323
+ def deep_symbolize_keys_in_object(value); end
1324
+ end
1325
+ end
1326
+
1327
+ # source://i18n//lib/i18n/version.rb#4
1328
+ I18n::VERSION = T.let(T.unsafe(nil), String)