clean-architecture 5.0.2 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +15 -19
  3. data/.gitignore +4 -0
  4. data/CHANGELOG.md +4 -0
  5. data/Gemfile +1 -0
  6. data/README.md +1 -585
  7. data/bin/tapioca +29 -0
  8. data/clean-architecture.gemspec +4 -4
  9. data/lib/clean-architecture.rb +4 -1
  10. data/lib/clean_architecture/adapters/all.rb +1 -1
  11. data/lib/clean_architecture/adapters/attribute_hash_base.rb +47 -20
  12. data/lib/clean_architecture/all.rb +1 -4
  13. data/lib/clean_architecture/builders/abstract_active_record_entity_builder.rb +43 -13
  14. data/lib/clean_architecture/builders/all.rb +1 -1
  15. data/lib/clean_architecture/checks/all.rb +1 -1
  16. data/lib/clean_architecture/checks/authorization.rb +11 -9
  17. data/lib/clean_architecture/entities/all.rb +1 -3
  18. data/lib/clean_architecture/entities/failure_details.rb +27 -17
  19. data/lib/clean_architecture/matchers/all.rb +1 -1
  20. data/lib/clean_architecture/matchers/use_case_result.rb +9 -3
  21. data/lib/clean_architecture/queries/all.rb +1 -1
  22. data/lib/clean_architecture/queries/http_failure_code.rb +8 -20
  23. data/lib/clean_architecture/queries/http_success_code.rb +14 -7
  24. data/lib/clean_architecture/serializers/all.rb +1 -1
  25. data/lib/clean_architecture/serializers/html_response_from_result.rb +7 -1
  26. data/lib/clean_architecture/serializers/json_response_from_result.rb +4 -4
  27. data/lib/clean_architecture/version.rb +1 -1
  28. data/nix/sources.json +14 -0
  29. data/nix/sources.nix +174 -0
  30. data/run_ci.sh +7 -0
  31. data/shell.nix +17 -12
  32. data/sorbet/config +4 -0
  33. data/sorbet/{rbi/gems → dry-monads-sorbet}/dry-monads.rbi +176 -94
  34. data/sorbet/rbi/gems/activemodel@6.1.4.1.rbi +1292 -0
  35. data/sorbet/rbi/gems/activerecord@6.1.4.1.rbi +8092 -0
  36. data/sorbet/rbi/gems/activesupport@6.1.4.1.rbi +3531 -0
  37. data/sorbet/rbi/gems/{ast.rbi → ast@2.4.2.rbi} +28 -22
  38. data/sorbet/rbi/gems/byebug@11.1.3.rbi +1568 -0
  39. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  40. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +915 -0
  41. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
  42. data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
  43. data/sorbet/rbi/gems/dry-core@0.7.1.rbi +92 -0
  44. data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +28 -0
  45. data/sorbet/rbi/gems/dry-matcher@0.9.0.rbi +56 -0
  46. data/sorbet/rbi/gems/dry-monads-sorbet@1.1.7.rbi +41 -0
  47. data/sorbet/rbi/gems/dry-monads@1.4.0.rbi +697 -0
  48. data/sorbet/rbi/gems/em-websocket@0.5.2.rbi +8 -0
  49. data/sorbet/rbi/gems/eventmachine@1.2.7.rbi +45 -0
  50. data/sorbet/rbi/gems/ffi@1.15.4.rbi +8 -0
  51. data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
  52. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +31 -0
  53. data/sorbet/rbi/gems/guard-livereload@2.5.2.rbi +8 -0
  54. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +211 -0
  55. data/sorbet/rbi/gems/guard@2.18.0.rbi +8 -0
  56. data/sorbet/rbi/gems/http_parser.rb@0.6.0.rbi +8 -0
  57. data/sorbet/rbi/gems/i18n@1.8.10.rbi +8 -0
  58. data/sorbet/rbi/gems/listen@3.7.0.rbi +8 -0
  59. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +8 -0
  60. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  61. data/sorbet/rbi/gems/minitest@5.14.4.rbi +344 -0
  62. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
  63. data/sorbet/rbi/gems/nenv@0.3.0.rbi +8 -0
  64. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +8 -0
  65. data/sorbet/rbi/gems/parallel@1.21.0.rbi +113 -0
  66. data/sorbet/rbi/gems/{parser.rbi → parser@3.0.2.0.rbi} +966 -699
  67. data/sorbet/rbi/gems/pry-byebug@3.9.0.rbi +461 -0
  68. data/sorbet/rbi/gems/{pry.rbi → pry@0.13.1.rbi} +2191 -1605
  69. data/sorbet/rbi/gems/{rainbow.rbi → rainbow@3.0.0.rbi} +90 -55
  70. data/sorbet/rbi/gems/{rake.rbi → rake@13.0.6.rbi} +578 -427
  71. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  72. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
  73. data/sorbet/rbi/gems/rb-readline@0.5.5.rbi +884 -0
  74. data/sorbet/rbi/gems/rbi@0.0.6.rbi +1405 -0
  75. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
  76. data/sorbet/rbi/gems/{rexml.rbi → rexml@3.2.5.rbi} +562 -479
  77. data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.10.1.rbi} +2317 -1533
  78. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1574 -0
  79. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
  80. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  81. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  82. data/sorbet/rbi/gems/rubocop-ast@1.12.0.rbi +1938 -0
  83. data/sorbet/rbi/gems/rubocop-rspec@2.5.0.rbi +1786 -0
  84. data/sorbet/rbi/gems/rubocop@1.22.1.rbi +13252 -0
  85. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
  86. data/sorbet/rbi/gems/shellany@0.0.1.rbi +8 -0
  87. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  88. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  89. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
  90. data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +17 -0
  91. data/sorbet/rbi/gems/spoom@1.1.5.rbi +1241 -0
  92. data/sorbet/rbi/gems/stackprof@0.2.17.rbi +98 -0
  93. data/sorbet/rbi/gems/tapioca@0.5.2.rbi +949 -0
  94. data/sorbet/rbi/gems/thor@1.1.0.rbi +839 -0
  95. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +8 -0
  96. data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +26 -0
  97. data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
  98. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +8 -0
  99. data/sorbet/tapioca/require.rb +9 -0
  100. metadata +88 -91
  101. data/.ruby-version +0 -1
  102. data/lib/clean_architecture/entities/targeted_parameters.rb +0 -24
  103. data/lib/clean_architecture/entities/untargeted_parameters.rb +0 -21
  104. data/lib/clean_architecture/interfaces/all.rb +0 -12
  105. data/lib/clean_architecture/interfaces/authorization_parameters.rb +0 -19
  106. data/lib/clean_architecture/interfaces/base_parameters.rb +0 -24
  107. data/lib/clean_architecture/interfaces/jsonable.rb +0 -16
  108. data/lib/clean_architecture/interfaces/targeted_parameters.rb +0 -19
  109. data/lib/clean_architecture/interfaces/use_case.rb +0 -20
  110. data/lib/clean_architecture/interfaces/use_case_actor.rb +0 -20
  111. data/lib/clean_architecture/interfaces/use_case_target.rb +0 -24
  112. data/lib/clean_architecture/types.rb +0 -8
  113. data/lib/clean_architecture/use_cases/abstract_use_case.rb +0 -63
  114. data/lib/clean_architecture/use_cases/all.rb +0 -10
  115. data/lib/clean_architecture/use_cases/contract.rb +0 -9
  116. data/lib/clean_architecture/use_cases/errors.rb +0 -58
  117. data/lib/clean_architecture/use_cases/form.rb +0 -116
  118. data/lib/clean_architecture/use_cases/parameters.rb +0 -43
  119. data/sorbet/rbi/gems/activemodel.rbi +0 -75
  120. data/sorbet/rbi/gems/activesupport.rbi +0 -440
  121. data/sorbet/rbi/gems/byebug.rbi +0 -1040
  122. data/sorbet/rbi/gems/coderay.rbi +0 -92
  123. data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1586
  124. data/sorbet/rbi/gems/docile.rbi +0 -32
  125. data/sorbet/rbi/gems/dry-configurable.rbi +0 -139
  126. data/sorbet/rbi/gems/dry-container.rbi +0 -89
  127. data/sorbet/rbi/gems/dry-core.rbi +0 -80
  128. data/sorbet/rbi/gems/dry-equalizer.rbi +0 -26
  129. data/sorbet/rbi/gems/dry-inflector.rbi +0 -73
  130. data/sorbet/rbi/gems/dry-initializer.rbi +0 -209
  131. data/sorbet/rbi/gems/dry-logic.rbi +0 -305
  132. data/sorbet/rbi/gems/dry-matcher.rbi +0 -34
  133. data/sorbet/rbi/gems/dry-schema.rbi +0 -786
  134. data/sorbet/rbi/gems/dry-struct.rbi +0 -137
  135. data/sorbet/rbi/gems/dry-types.rbi +0 -709
  136. data/sorbet/rbi/gems/dry-validation.rbi +0 -288
  137. data/sorbet/rbi/gems/duckface-interfaces.rbi +0 -94
  138. data/sorbet/rbi/gems/i18n.rbi +0 -133
  139. data/sorbet/rbi/gems/jaro_winkler.rbi +0 -15
  140. data/sorbet/rbi/gems/method_source.rbi +0 -64
  141. data/sorbet/rbi/gems/parallel.rbi +0 -82
  142. data/sorbet/rbi/gems/pry-byebug.rbi +0 -155
  143. data/sorbet/rbi/gems/rb-readline.rbi +0 -767
  144. data/sorbet/rbi/gems/rspec-expectations.rbi +0 -398
  145. data/sorbet/rbi/gems/rspec-mocks.rbi +0 -816
  146. data/sorbet/rbi/gems/rspec-support.rbi +0 -271
  147. data/sorbet/rbi/gems/rspec.rbi +0 -15
  148. data/sorbet/rbi/gems/rubocop-rspec.rbi +0 -922
  149. data/sorbet/rbi/gems/rubocop.rbi +0 -7319
  150. data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -305
  151. data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
  152. data/sorbet/rbi/gems/simplecov.rbi +0 -361
  153. data/sorbet/rbi/gems/stackprof.rbi +0 -52
  154. data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
  155. data/sorbet/rbi/hidden-definitions/errors.txt +0 -8580
  156. data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -17036
  157. data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +0 -452
  158. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +0 -23
  159. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -979
  160. data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +0 -8684
  161. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -108
  162. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
  163. data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +0 -4222
  164. data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +0 -111
  165. data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +0 -543
  166. data/sorbet/rbi/todo.rbi +0 -10
@@ -0,0 +1,3531 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `activesupport` gem.
3
+ # Please instead update this file by running `bin/tapioca gem activesupport`.
4
+
5
+ # typed: false
6
+
7
+ module ActiveSupport
8
+ extend ::ActiveSupport::LazyLoadHooks
9
+ extend ::ActiveSupport::Autoload
10
+
11
+ def test_order; end
12
+ def test_order=(val); end
13
+
14
+ class << self
15
+ def eager_load!; end
16
+ def gem_version; end
17
+ def test_order; end
18
+ def test_order=(val); end
19
+ def to_time_preserves_timezone; end
20
+ def to_time_preserves_timezone=(value); end
21
+ def utc_to_local_returns_utc_offset_times; end
22
+ def utc_to_local_returns_utc_offset_times=(value); end
23
+ def version; end
24
+ end
25
+ end
26
+
27
+ module ActiveSupport::ActionableError
28
+ extend ::ActiveSupport::Concern
29
+
30
+ mixes_in_class_methods ::ActiveSupport::ActionableError::ClassMethods
31
+
32
+ class << self
33
+ def actions(error); end
34
+ def dispatch(error, name); end
35
+ end
36
+ end
37
+
38
+ module ActiveSupport::ActionableError::ClassMethods
39
+ def action(name, &block); end
40
+ end
41
+
42
+ class ActiveSupport::ActionableError::NonActionable < ::StandardError; end
43
+
44
+ class ActiveSupport::ArrayInquirer < ::Array
45
+ def any?(*candidates); end
46
+
47
+ private
48
+
49
+ def method_missing(name, *args); end
50
+ def respond_to_missing?(name, include_private = T.unsafe(nil)); end
51
+ end
52
+
53
+ module ActiveSupport::Autoload
54
+ def autoload(const_name, path = T.unsafe(nil)); end
55
+ def autoload_at(path); end
56
+ def autoload_under(path); end
57
+ def autoloads; end
58
+ def eager_autoload; end
59
+ def eager_load!; end
60
+
61
+ class << self
62
+ def extended(base); end
63
+ end
64
+ end
65
+
66
+ class ActiveSupport::BacktraceCleaner
67
+ def initialize; end
68
+
69
+ def add_filter(&block); end
70
+ def add_silencer(&block); end
71
+ def clean(backtrace, kind = T.unsafe(nil)); end
72
+ def filter(backtrace, kind = T.unsafe(nil)); end
73
+ def remove_filters!; end
74
+ def remove_silencers!; end
75
+
76
+ private
77
+
78
+ def add_gem_filter; end
79
+ def add_gem_silencer; end
80
+ def add_stdlib_silencer; end
81
+ def filter_backtrace(backtrace); end
82
+ def noise(backtrace); end
83
+ def silence(backtrace); end
84
+ end
85
+
86
+ ActiveSupport::BacktraceCleaner::FORMATTED_GEMS_PATTERN = T.let(T.unsafe(nil), Regexp)
87
+
88
+ module ActiveSupport::Benchmarkable
89
+ def benchmark(message = T.unsafe(nil), options = T.unsafe(nil)); end
90
+ end
91
+
92
+ module ActiveSupport::BigDecimalWithDefaultFormat
93
+ def to_s(format = T.unsafe(nil)); end
94
+ end
95
+
96
+ module ActiveSupport::Cache
97
+ class << self
98
+ def expand_cache_key(key, namespace = T.unsafe(nil)); end
99
+ def lookup_store(store = T.unsafe(nil), *parameters); end
100
+
101
+ private
102
+
103
+ def retrieve_cache_key(key); end
104
+ def retrieve_store_class(store); end
105
+ end
106
+ end
107
+
108
+ class ActiveSupport::Cache::Entry
109
+ def initialize(value, compress: T.unsafe(nil), compress_threshold: T.unsafe(nil), version: T.unsafe(nil), expires_in: T.unsafe(nil), **_arg5); end
110
+
111
+ def bytesize; end
112
+ def dup_value!; end
113
+ def expired?; end
114
+ def expires_at; end
115
+ def expires_at=(value); end
116
+ def mismatched?(version); end
117
+ def value; end
118
+ def version; end
119
+
120
+ private
121
+
122
+ def compress!(compress_threshold); end
123
+ def compressed?; end
124
+ def uncompress(value); end
125
+ end
126
+
127
+ ActiveSupport::Cache::Entry::DEFAULT_COMPRESS_LIMIT = T.let(T.unsafe(nil), Integer)
128
+
129
+ class ActiveSupport::Cache::FileStore < ::ActiveSupport::Cache::Store
130
+ include ::ActiveSupport::Cache::Strategy::LocalCache
131
+
132
+ def initialize(cache_path, **options); end
133
+
134
+ def cache_path; end
135
+
136
+ private
137
+
138
+ def delete_empty_directories(dir); end
139
+ def ensure_cache_path(path); end
140
+ def file_path_key(path); end
141
+ def lock_file(file_name, &block); end
142
+ def modify_value(name, amount, options); end
143
+ def normalize_key(key, options); end
144
+ def search_dir(dir, &callback); end
145
+
146
+ class << self
147
+ def supports_cache_versioning?; end
148
+ end
149
+ end
150
+
151
+ ActiveSupport::Cache::FileStore::DIR_FORMATTER = T.let(T.unsafe(nil), String)
152
+ ActiveSupport::Cache::FileStore::FILENAME_MAX_SIZE = T.let(T.unsafe(nil), Integer)
153
+ ActiveSupport::Cache::FileStore::FILEPATH_MAX_SIZE = T.let(T.unsafe(nil), Integer)
154
+ ActiveSupport::Cache::FileStore::GITKEEP_FILES = T.let(T.unsafe(nil), Array)
155
+
156
+ class ActiveSupport::Cache::MemoryStore < ::ActiveSupport::Cache::Store
157
+ def initialize(options = T.unsafe(nil)); end
158
+
159
+ def cleanup(options = T.unsafe(nil)); end
160
+ def clear(options = T.unsafe(nil)); end
161
+ def decrement(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end
162
+ def delete_matched(matcher, options = T.unsafe(nil)); end
163
+ def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end
164
+ def inspect; end
165
+ def prune(target_size, max_time = T.unsafe(nil)); end
166
+ def pruning?; end
167
+ def synchronize(&block); end
168
+
169
+ private
170
+
171
+ def cached_size(key, payload); end
172
+ def delete_entry(key, **options); end
173
+ def modify_value(name, amount, options); end
174
+ def read_entry(key, **options); end
175
+ def write_entry(key, entry, **options); end
176
+
177
+ class << self
178
+ def supports_cache_versioning?; end
179
+ end
180
+ end
181
+
182
+ ActiveSupport::Cache::MemoryStore::DEFAULT_CODER = ActiveSupport::Cache::MemoryStore::DupCoder
183
+
184
+ module ActiveSupport::Cache::MemoryStore::DupCoder
185
+ class << self
186
+ def dump(entry); end
187
+ def load(entry); end
188
+ end
189
+ end
190
+
191
+ ActiveSupport::Cache::MemoryStore::PER_ENTRY_OVERHEAD = T.let(T.unsafe(nil), Integer)
192
+
193
+ module ActiveSupport::Cache::NullCoder
194
+ class << self
195
+ def dump(entry); end
196
+ def load(payload); end
197
+ end
198
+ end
199
+
200
+ class ActiveSupport::Cache::NullStore < ::ActiveSupport::Cache::Store
201
+ include ::ActiveSupport::Cache::Strategy::LocalCache
202
+
203
+ class << self
204
+ def supports_cache_versioning?; end
205
+ end
206
+ end
207
+
208
+ class ActiveSupport::Cache::Store
209
+ def initialize(options = T.unsafe(nil)); end
210
+
211
+ def cleanup(options = T.unsafe(nil)); end
212
+ def clear(options = T.unsafe(nil)); end
213
+ def decrement(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end
214
+ def delete(name, options = T.unsafe(nil)); end
215
+ def delete_matched(matcher, options = T.unsafe(nil)); end
216
+ def delete_multi(names, options = T.unsafe(nil)); end
217
+ def exist?(name, options = T.unsafe(nil)); end
218
+ def fetch(name, options = T.unsafe(nil), &block); end
219
+ def fetch_multi(*names); end
220
+ def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end
221
+ def logger; end
222
+ def logger=(val); end
223
+ def mute; end
224
+ def options; end
225
+ def read(name, options = T.unsafe(nil)); end
226
+ def read_multi(*names); end
227
+ def silence; end
228
+ def silence!; end
229
+ def silence?; end
230
+ def write(name, value, options = T.unsafe(nil)); end
231
+ def write_multi(hash, options = T.unsafe(nil)); end
232
+
233
+ private
234
+
235
+ def delete_entry(key, **options); end
236
+ def delete_multi_entries(entries, **options); end
237
+ def deserialize_entry(payload); end
238
+ def expanded_key(key); end
239
+ def expanded_version(key); end
240
+ def get_entry_value(entry, name, options); end
241
+ def handle_expired_entry(entry, key, options); end
242
+ def instrument(operation, key, options = T.unsafe(nil)); end
243
+ def key_matcher(pattern, options); end
244
+ def merged_options(call_options); end
245
+ def namespace_key(key, options = T.unsafe(nil)); end
246
+ def normalize_key(key, options = T.unsafe(nil)); end
247
+ def normalize_version(key, options = T.unsafe(nil)); end
248
+ def read_entry(key, **options); end
249
+ def read_multi_entries(names, **options); end
250
+ def save_block_result_to_cache(name, options); end
251
+ def serialize_entry(entry); end
252
+ def write_entry(key, entry, **options); end
253
+ def write_multi_entries(hash, **options); end
254
+
255
+ class << self
256
+ def logger; end
257
+ def logger=(val); end
258
+
259
+ private
260
+
261
+ def ensure_connection_pool_added!; end
262
+ def retrieve_pool_options(options); end
263
+ end
264
+ end
265
+
266
+ ActiveSupport::Cache::Store::DEFAULT_CODER = Marshal
267
+ module ActiveSupport::Cache::Strategy; end
268
+
269
+ module ActiveSupport::Cache::Strategy::LocalCache
270
+ def cleanup(**options); end
271
+ def clear(**options); end
272
+ def decrement(name, amount = T.unsafe(nil), **options); end
273
+ def delete_matched(matcher, options = T.unsafe(nil)); end
274
+ def increment(name, amount = T.unsafe(nil), **options); end
275
+ def middleware; end
276
+ def with_local_cache; end
277
+
278
+ private
279
+
280
+ def bypass_local_cache; end
281
+ def delete_entry(key, **options); end
282
+ def local_cache; end
283
+ def local_cache_key; end
284
+ def read_entry(key, **options); end
285
+ def read_multi_entries(keys, **options); end
286
+ def use_temporary_local_cache(temporary_cache); end
287
+ def write_cache_value(name, value, **options); end
288
+ def write_entry(key, entry, **options); end
289
+ end
290
+
291
+ class ActiveSupport::Cache::Strategy::LocalCache::LocalCacheRegistry
292
+ extend ::ActiveSupport::PerThreadRegistry
293
+
294
+ def initialize; end
295
+
296
+ def cache_for(local_cache_key); end
297
+ def set_cache_for(local_cache_key, value); end
298
+
299
+ class << self
300
+ def cache_for(l); end
301
+ def set_cache_for(l, v); end
302
+ end
303
+ end
304
+
305
+ class ActiveSupport::Cache::Strategy::LocalCache::LocalStore < ::ActiveSupport::Cache::Store
306
+ def initialize; end
307
+
308
+ def clear(options = T.unsafe(nil)); end
309
+ def delete_entry(key, **options); end
310
+ def fetch_entry(key, options = T.unsafe(nil)); end
311
+ def read_entry(key, **options); end
312
+ def read_multi_entries(keys, **options); end
313
+ def synchronize; end
314
+ def write_entry(key, entry, **options); end
315
+ end
316
+
317
+ ActiveSupport::Cache::UNIVERSAL_OPTIONS = T.let(T.unsafe(nil), Array)
318
+
319
+ class ActiveSupport::CachingKeyGenerator
320
+ def initialize(key_generator); end
321
+
322
+ def generate_key(*args); end
323
+ end
324
+
325
+ module ActiveSupport::Callbacks
326
+ extend ::ActiveSupport::Concern
327
+
328
+ mixes_in_class_methods ::ActiveSupport::Callbacks::ClassMethods
329
+ mixes_in_class_methods ::ActiveSupport::DescendantsTracker
330
+
331
+ def run_callbacks(kind); end
332
+
333
+ private
334
+
335
+ def halted_callback_hook(filter, name); end
336
+ end
337
+
338
+ ActiveSupport::Callbacks::CALLBACK_FILTER_TYPES = T.let(T.unsafe(nil), Array)
339
+
340
+ class ActiveSupport::Callbacks::CallTemplate
341
+ def initialize(target, method, arguments, block); end
342
+
343
+ def expand(target, value, block); end
344
+ def inverted_lambda; end
345
+ def make_lambda; end
346
+
347
+ class << self
348
+ def build(filter, callback); end
349
+ end
350
+ end
351
+
352
+ class ActiveSupport::Callbacks::Callback
353
+ def initialize(name, filter, kind, options, chain_config); end
354
+
355
+ def apply(callback_sequence); end
356
+ def chain_config; end
357
+ def current_scopes; end
358
+ def duplicates?(other); end
359
+ def filter; end
360
+ def kind; end
361
+ def kind=(_arg0); end
362
+ def matches?(_kind, _filter); end
363
+ def merge_conditional_options(chain, if_option:, unless_option:); end
364
+ def name; end
365
+ def name=(_arg0); end
366
+ def raw_filter; end
367
+
368
+ private
369
+
370
+ def check_conditionals(conditionals); end
371
+ def compute_identifier(filter); end
372
+ def conditions_lambdas; end
373
+
374
+ class << self
375
+ def build(chain, filter, kind, options); end
376
+ end
377
+ end
378
+
379
+ ActiveSupport::Callbacks::Callback::EMPTY_ARRAY = T.let(T.unsafe(nil), Array)
380
+
381
+ class ActiveSupport::Callbacks::CallbackChain
382
+ include ::Enumerable
383
+
384
+ def initialize(name, config); end
385
+
386
+ def append(*callbacks); end
387
+ def clear; end
388
+ def compile; end
389
+ def config; end
390
+ def delete(o); end
391
+ def each(&block); end
392
+ def empty?; end
393
+ def index(o); end
394
+ def insert(index, o); end
395
+ def name; end
396
+ def prepend(*callbacks); end
397
+
398
+ protected
399
+
400
+ def chain; end
401
+
402
+ private
403
+
404
+ def append_one(callback); end
405
+ def default_terminator; end
406
+ def initialize_copy(other); end
407
+ def prepend_one(callback); end
408
+ def remove_duplicates(callback); end
409
+ end
410
+
411
+ class ActiveSupport::Callbacks::CallbackSequence
412
+ def initialize(nested = T.unsafe(nil), call_template = T.unsafe(nil), user_conditions = T.unsafe(nil)); end
413
+
414
+ def after(&after); end
415
+ def around(call_template, user_conditions); end
416
+ def before(&before); end
417
+ def expand_call_template(arg, block); end
418
+ def final?; end
419
+ def invoke_after(arg); end
420
+ def invoke_before(arg); end
421
+ def nested; end
422
+ def skip?(arg); end
423
+ end
424
+
425
+ module ActiveSupport::Callbacks::ClassMethods
426
+ def __update_callbacks(name); end
427
+ def define_callbacks(*names); end
428
+ def normalize_callback_params(filters, block); end
429
+ def reset_callbacks(name); end
430
+ def set_callback(name, *filter_list, &block); end
431
+ def skip_callback(name, *filter_list, &block); end
432
+
433
+ protected
434
+
435
+ def get_callbacks(name); end
436
+ def set_callbacks(name, callbacks); end
437
+ end
438
+
439
+ module ActiveSupport::Callbacks::Conditionals; end
440
+
441
+ class ActiveSupport::Callbacks::Conditionals::Value
442
+ def initialize(&block); end
443
+
444
+ def call(target, value); end
445
+ end
446
+
447
+ module ActiveSupport::Callbacks::Filters; end
448
+
449
+ class ActiveSupport::Callbacks::Filters::After
450
+ class << self
451
+ def build(callback_sequence, user_callback, user_conditions, chain_config); end
452
+
453
+ private
454
+
455
+ def conditional(callback_sequence, user_callback, user_conditions); end
456
+ def halting(callback_sequence, user_callback); end
457
+ def halting_and_conditional(callback_sequence, user_callback, user_conditions); end
458
+ def simple(callback_sequence, user_callback); end
459
+ end
460
+ end
461
+
462
+ class ActiveSupport::Callbacks::Filters::Before
463
+ class << self
464
+ def build(callback_sequence, user_callback, user_conditions, chain_config, filter, name); end
465
+
466
+ private
467
+
468
+ def halting(callback_sequence, user_callback, halted_lambda, filter, name); end
469
+ def halting_and_conditional(callback_sequence, user_callback, user_conditions, halted_lambda, filter, name); end
470
+ end
471
+ end
472
+
473
+ class ActiveSupport::Callbacks::Filters::Environment < ::Struct
474
+ def halted; end
475
+ def halted=(_); end
476
+ def target; end
477
+ def target=(_); end
478
+ def value; end
479
+ def value=(_); end
480
+
481
+ class << self
482
+ def [](*_arg0); end
483
+ def inspect; end
484
+ def members; end
485
+ def new(*_arg0); end
486
+ end
487
+ end
488
+
489
+ module ActiveSupport::Concern
490
+ def append_features(base); end
491
+ def class_methods(&class_methods_module_definition); end
492
+ def included(base = T.unsafe(nil), &block); end
493
+ def prepend_features(base); end
494
+ def prepended(base = T.unsafe(nil), &block); end
495
+
496
+ class << self
497
+ def extended(base); end
498
+ end
499
+ end
500
+
501
+ class ActiveSupport::Concern::MultipleIncludedBlocks < ::StandardError
502
+ def initialize; end
503
+ end
504
+
505
+ class ActiveSupport::Concern::MultiplePrependBlocks < ::StandardError
506
+ def initialize; end
507
+ end
508
+
509
+ module ActiveSupport::Concurrency; end
510
+
511
+ class ActiveSupport::Concurrency::ShareLock
512
+ include ::MonitorMixin
513
+
514
+ def initialize; end
515
+
516
+ def exclusive(purpose: T.unsafe(nil), compatible: T.unsafe(nil), after_compatible: T.unsafe(nil), no_wait: T.unsafe(nil)); end
517
+ def raw_state; end
518
+ def sharing; end
519
+ def start_exclusive(purpose: T.unsafe(nil), compatible: T.unsafe(nil), no_wait: T.unsafe(nil)); end
520
+ def start_sharing; end
521
+ def stop_exclusive(compatible: T.unsafe(nil)); end
522
+ def stop_sharing; end
523
+ def yield_shares(purpose: T.unsafe(nil), compatible: T.unsafe(nil), block_share: T.unsafe(nil)); end
524
+
525
+ private
526
+
527
+ def busy_for_exclusive?(purpose); end
528
+ def busy_for_sharing?(purpose); end
529
+ def eligible_waiters?(compatible); end
530
+ def wait_for(method); end
531
+ end
532
+
533
+ module ActiveSupport::Configurable
534
+ extend ::ActiveSupport::Concern
535
+
536
+ mixes_in_class_methods ::ActiveSupport::Configurable::ClassMethods
537
+
538
+ def config; end
539
+ end
540
+
541
+ module ActiveSupport::Configurable::ClassMethods
542
+ def config; end
543
+ def configure; end
544
+
545
+ private
546
+
547
+ def config_accessor(*names, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil)); end
548
+ end
549
+
550
+ class ActiveSupport::Configurable::Configuration < ::ActiveSupport::InheritableOptions
551
+ def compile_methods!; end
552
+
553
+ class << self
554
+ def compile_methods!(keys); end
555
+ end
556
+ end
557
+
558
+ class ActiveSupport::ConfigurationFile
559
+ def initialize(content_path); end
560
+
561
+ def parse(context: T.unsafe(nil), **options); end
562
+
563
+ private
564
+
565
+ def read(content_path); end
566
+ def render(context); end
567
+
568
+ class << self
569
+ def parse(content_path, **options); end
570
+ end
571
+ end
572
+
573
+ class ActiveSupport::ConfigurationFile::FormatError < ::StandardError; end
574
+
575
+ class ActiveSupport::CurrentAttributes
576
+ include ::ActiveSupport::Callbacks
577
+ extend ::ActiveSupport::Callbacks::ClassMethods
578
+ extend ::ActiveSupport::DescendantsTracker
579
+
580
+ def initialize; end
581
+
582
+ def __callbacks; end
583
+ def __callbacks?; end
584
+ def _reset_callbacks; end
585
+ def _run_reset_callbacks(&block); end
586
+ def attributes; end
587
+ def attributes=(_arg0); end
588
+ def reset; end
589
+ def set(set_attributes); end
590
+
591
+ private
592
+
593
+ def assign_attributes(new_attributes); end
594
+ def compute_attributes(keys); end
595
+
596
+ class << self
597
+ def __callbacks; end
598
+ def __callbacks=(value); end
599
+ def __callbacks?; end
600
+ def _reset_callbacks; end
601
+ def _reset_callbacks=(value); end
602
+ def after_reset(&block); end
603
+ def attribute(*names); end
604
+ def before_reset(&block); end
605
+ def clear_all; end
606
+ def instance; end
607
+ def reset(*_arg0, &_arg1); end
608
+ def reset_all; end
609
+ def resets(&block); end
610
+ def set(*_arg0, &_arg1); end
611
+
612
+ private
613
+
614
+ def current_instances; end
615
+ def current_instances_key; end
616
+ def generated_attribute_methods; end
617
+ def method_missing(name, *args, &block); end
618
+ end
619
+ end
620
+
621
+ module ActiveSupport::Dependencies
622
+ extend ::ActiveSupport::Dependencies
623
+
624
+ def _eager_load_paths; end
625
+ def _eager_load_paths=(val); end
626
+ def autoload_module!(into, const_name, qualified_name, path_suffix); end
627
+ def autoload_once_paths; end
628
+ def autoload_once_paths=(val); end
629
+ def autoload_paths; end
630
+ def autoload_paths=(val); end
631
+ def autoloadable_module?(path_suffix); end
632
+ def autoloaded?(desc); end
633
+ def autoloaded_constants; end
634
+ def autoloaded_constants=(val); end
635
+ def clear; end
636
+ def constant_watch_stack; end
637
+ def constant_watch_stack=(val); end
638
+ def constantize(name); end
639
+ def depend_on(file_name, message = T.unsafe(nil)); end
640
+ def explicitly_unloadable_constants; end
641
+ def explicitly_unloadable_constants=(val); end
642
+ def history; end
643
+ def history=(val); end
644
+ def hook!; end
645
+ def interlock; end
646
+ def interlock=(val); end
647
+ def load?; end
648
+ def load_file(path, const_paths = T.unsafe(nil)); end
649
+ def load_missing_constant(from_mod, const_name); end
650
+ def load_once_path?(path); end
651
+ def loadable_constants_for_path(path, bases = T.unsafe(nil)); end
652
+ def loaded; end
653
+ def loaded=(val); end
654
+ def loading; end
655
+ def loading=(val); end
656
+ def log(message); end
657
+ def logger; end
658
+ def logger=(val); end
659
+ def mark_for_unload(const_desc); end
660
+ def mechanism; end
661
+ def mechanism=(val); end
662
+ def new_constants_in(*descs); end
663
+ def qualified_const_defined?(path); end
664
+ def qualified_name_for(mod, name); end
665
+ def reference(klass); end
666
+ def remove_constant(const); end
667
+ def remove_unloadable_constants!; end
668
+ def require_or_load(file_name, const_path = T.unsafe(nil)); end
669
+ def safe_constantize(name); end
670
+ def search_for_file(path_suffix); end
671
+ def to_constant_name(desc); end
672
+ def unhook!; end
673
+ def verbose; end
674
+ def verbose=(val); end
675
+ def warnings_on_first_load; end
676
+ def warnings_on_first_load=(val); end
677
+ def will_unload?(const_desc); end
678
+
679
+ private
680
+
681
+ def real_mod_name(mod); end
682
+ def uninitialized_constant(qualified_name, const_name, receiver:); end
683
+
684
+ class << self
685
+ def _eager_load_paths; end
686
+ def _eager_load_paths=(val); end
687
+ def autoload_once_paths; end
688
+ def autoload_once_paths=(val); end
689
+ def autoload_paths; end
690
+ def autoload_paths=(val); end
691
+ def autoloaded_constants; end
692
+ def autoloaded_constants=(val); end
693
+ def constant_watch_stack; end
694
+ def constant_watch_stack=(val); end
695
+ def explicitly_unloadable_constants; end
696
+ def explicitly_unloadable_constants=(val); end
697
+ def history; end
698
+ def history=(val); end
699
+ def interlock; end
700
+ def interlock=(val); end
701
+ def load_interlock; end
702
+ def loaded; end
703
+ def loaded=(val); end
704
+ def loading; end
705
+ def loading=(val); end
706
+ def logger; end
707
+ def logger=(val); end
708
+ def mechanism; end
709
+ def mechanism=(val); end
710
+ def run_interlock; end
711
+ def unload_interlock; end
712
+ def verbose; end
713
+ def verbose=(val); end
714
+ def warnings_on_first_load; end
715
+ def warnings_on_first_load=(val); end
716
+ end
717
+ end
718
+
719
+ module ActiveSupport::Dependencies::Blamable
720
+ def blame_file!(file); end
721
+ def blamed_files; end
722
+ def copy_blame!(exc); end
723
+ def describe_blame; end
724
+ end
725
+
726
+ class ActiveSupport::Dependencies::ClassCache
727
+ def initialize; end
728
+
729
+ def [](key); end
730
+ def clear!; end
731
+ def empty?; end
732
+ def get(key); end
733
+ def key?(key); end
734
+ def safe_get(key); end
735
+ def store(klass); end
736
+ end
737
+
738
+ class ActiveSupport::Dependencies::Interlock
739
+ def initialize; end
740
+
741
+ def done_running; end
742
+ def done_unloading; end
743
+ def loading; end
744
+ def permit_concurrent_loads; end
745
+ def raw_state(&block); end
746
+ def running; end
747
+ def start_running; end
748
+ def start_unloading; end
749
+ def unloading; end
750
+ end
751
+
752
+ module ActiveSupport::Dependencies::Loadable
753
+ def load_dependency(file); end
754
+ def require_dependency(file_name, message = T.unsafe(nil)); end
755
+ def require_or_load(file_name); end
756
+ def unloadable(const_desc); end
757
+
758
+ private
759
+
760
+ def load(file, wrap = T.unsafe(nil)); end
761
+ def require(file); end
762
+
763
+ class << self
764
+ def exclude_from(base); end
765
+ def include_into(base); end
766
+ end
767
+ end
768
+
769
+ module ActiveSupport::Dependencies::ModuleConstMissing
770
+ def const_missing(const_name); end
771
+ def guess_for_anonymous(const_name); end
772
+ def unloadable(const_desc = T.unsafe(nil)); end
773
+
774
+ class << self
775
+ def append_features(base); end
776
+ def exclude_from(base); end
777
+ def include_into(base); end
778
+ end
779
+ end
780
+
781
+ ActiveSupport::Dependencies::Reference = T.let(T.unsafe(nil), ActiveSupport::Dependencies::ClassCache)
782
+ ActiveSupport::Dependencies::UNBOUND_METHOD_MODULE_NAME = T.let(T.unsafe(nil), UnboundMethod)
783
+
784
+ class ActiveSupport::Dependencies::WatchStack
785
+ include ::Enumerable
786
+
787
+ def initialize; end
788
+
789
+ def each(&block); end
790
+ def new_constants; end
791
+ def watch_namespaces(namespaces); end
792
+ def watching; end
793
+ def watching?; end
794
+
795
+ private
796
+
797
+ def pop_modules(modules); end
798
+ end
799
+
800
+ class ActiveSupport::Deprecation
801
+ include ::Singleton
802
+ include ::ActiveSupport::Deprecation::InstanceDelegator
803
+ include ::ActiveSupport::Deprecation::Behavior
804
+ include ::ActiveSupport::Deprecation::Reporting
805
+ include ::ActiveSupport::Deprecation::Disallowed
806
+ include ::ActiveSupport::Deprecation::MethodWrapper
807
+ extend ::Singleton::SingletonClassMethods
808
+ extend ::ActiveSupport::Deprecation::InstanceDelegator::ClassMethods
809
+ extend ::ActiveSupport::Deprecation::InstanceDelegator::OverrideDelegators
810
+
811
+ def initialize(deprecation_horizon = T.unsafe(nil), gem_name = T.unsafe(nil)); end
812
+
813
+ def deprecation_horizon; end
814
+ def deprecation_horizon=(_arg0); end
815
+
816
+ class << self
817
+ def allow(*_arg0, &_arg1); end
818
+ def behavior(*_arg0, &_arg1); end
819
+ def behavior=(arg); end
820
+ def debug(*_arg0, &_arg1); end
821
+ def debug=(arg); end
822
+ def deprecate_methods(*_arg0, &_arg1); end
823
+ def deprecation_horizon(*_arg0, &_arg1); end
824
+ def deprecation_horizon=(arg); end
825
+ def disallowed_behavior(*_arg0, &_arg1); end
826
+ def disallowed_behavior=(arg); end
827
+ def disallowed_warnings(*_arg0, &_arg1); end
828
+ def disallowed_warnings=(arg); end
829
+ def gem_name(*_arg0, &_arg1); end
830
+ def gem_name=(arg); end
831
+ def silence(*_arg0, &_arg1); end
832
+ def silenced(*_arg0, &_arg1); end
833
+ def silenced=(arg); end
834
+ end
835
+ end
836
+
837
+ module ActiveSupport::Deprecation::Behavior
838
+ def behavior; end
839
+ def behavior=(behavior); end
840
+ def debug; end
841
+ def debug=(_arg0); end
842
+ def disallowed_behavior; end
843
+ def disallowed_behavior=(behavior); end
844
+
845
+ private
846
+
847
+ def arity_coerce(behavior); end
848
+ end
849
+
850
+ ActiveSupport::Deprecation::DEFAULT_BEHAVIORS = T.let(T.unsafe(nil), Hash)
851
+
852
+ module ActiveSupport::Deprecation::DeprecatedConstantAccessor
853
+ class << self
854
+ def included(base); end
855
+ end
856
+ end
857
+
858
+ class ActiveSupport::Deprecation::DeprecatedConstantProxy < ::Module
859
+ def initialize(old_const, new_const, deprecator = T.unsafe(nil), message: T.unsafe(nil)); end
860
+
861
+ def class; end
862
+ def hash(*_arg0, &_arg1); end
863
+ def inspect; end
864
+ def instance_methods(*_arg0, &_arg1); end
865
+ def name(*_arg0, &_arg1); end
866
+ def respond_to?(*_arg0, &_arg1); end
867
+
868
+ private
869
+
870
+ def const_missing(name); end
871
+ def method_missing(called, *args, &block); end
872
+ def target; end
873
+
874
+ class << self
875
+ def new(*args, **options, &block); end
876
+ end
877
+ end
878
+
879
+ class ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy < ::ActiveSupport::Deprecation::DeprecationProxy
880
+ def initialize(instance, method, var = T.unsafe(nil), deprecator = T.unsafe(nil)); end
881
+
882
+ private
883
+
884
+ def target; end
885
+ def warn(callstack, called, args); end
886
+ end
887
+
888
+ class ActiveSupport::Deprecation::DeprecatedObjectProxy < ::ActiveSupport::Deprecation::DeprecationProxy
889
+ def initialize(object, message, deprecator = T.unsafe(nil)); end
890
+
891
+ private
892
+
893
+ def target; end
894
+ def warn(callstack, called, args); end
895
+ end
896
+
897
+ class ActiveSupport::Deprecation::DeprecationProxy
898
+ def inspect; end
899
+
900
+ private
901
+
902
+ def method_missing(called, *args, &block); end
903
+
904
+ class << self
905
+ def new(*args, &block); end
906
+ end
907
+ end
908
+
909
+ module ActiveSupport::Deprecation::Disallowed
910
+ def disallowed_warnings; end
911
+ def disallowed_warnings=(_arg0); end
912
+
913
+ private
914
+
915
+ def deprecation_disallowed?(message); end
916
+ def explicitly_allowed?(message); end
917
+ end
918
+
919
+ module ActiveSupport::Deprecation::InstanceDelegator
920
+ mixes_in_class_methods ::ActiveSupport::Deprecation::InstanceDelegator::ClassMethods
921
+ mixes_in_class_methods ::ActiveSupport::Deprecation::InstanceDelegator::OverrideDelegators
922
+
923
+ class << self
924
+ def included(base); end
925
+ end
926
+ end
927
+
928
+ module ActiveSupport::Deprecation::InstanceDelegator::ClassMethods
929
+ def include(included_module); end
930
+ def method_added(method_name); end
931
+ end
932
+
933
+ module ActiveSupport::Deprecation::InstanceDelegator::OverrideDelegators
934
+ def deprecation_warning(deprecated_method_name, message = T.unsafe(nil), caller_backtrace = T.unsafe(nil)); end
935
+ def warn(message = T.unsafe(nil), callstack = T.unsafe(nil)); end
936
+ end
937
+
938
+ module ActiveSupport::Deprecation::MethodWrapper
939
+ def deprecate_methods(target_module, *method_names); end
940
+ end
941
+
942
+ module ActiveSupport::Deprecation::Reporting
943
+ def allow(allowed_warnings = T.unsafe(nil), if: T.unsafe(nil), &block); end
944
+ def deprecation_warning(deprecated_method_name, message = T.unsafe(nil), caller_backtrace = T.unsafe(nil)); end
945
+ def gem_name; end
946
+ def gem_name=(_arg0); end
947
+ def silence(&block); end
948
+ def silenced; end
949
+ def silenced=(_arg0); end
950
+ def warn(message = T.unsafe(nil), callstack = T.unsafe(nil)); end
951
+
952
+ private
953
+
954
+ def _extract_callstack(callstack); end
955
+ def deprecated_method_warning(method_name, message = T.unsafe(nil)); end
956
+ def deprecation_caller_message(callstack); end
957
+ def deprecation_message(callstack, message = T.unsafe(nil)); end
958
+ def extract_callstack(callstack); end
959
+ def ignored_callstack(path); end
960
+ end
961
+
962
+ ActiveSupport::Deprecation::Reporting::RAILS_GEM_ROOT = T.let(T.unsafe(nil), String)
963
+ class ActiveSupport::DeprecationException < ::StandardError; end
964
+
965
+ module ActiveSupport::DescendantsTracker
966
+ def descendants; end
967
+ def direct_descendants; end
968
+ def inherited(base); end
969
+ def subclasses; end
970
+
971
+ class << self
972
+ def clear; end
973
+ def descendants(klass); end
974
+ def direct_descendants(klass); end
975
+ def store_inherited(klass, descendant); end
976
+ def subclasses(klass); end
977
+
978
+ private
979
+
980
+ def accumulate_descendants(klass, acc); end
981
+ end
982
+ end
983
+
984
+ class ActiveSupport::DescendantsTracker::DescendantsArray
985
+ include ::Enumerable
986
+
987
+ def initialize; end
988
+
989
+ def <<(klass); end
990
+ def cleanup!; end
991
+ def each; end
992
+ def refs_size; end
993
+ def reject!; end
994
+
995
+ private
996
+
997
+ def initialize_copy(orig); end
998
+ end
999
+
1000
+ class ActiveSupport::Digest
1001
+ class << self
1002
+ def hash_digest_class; end
1003
+ def hash_digest_class=(klass); end
1004
+ def hexdigest(arg); end
1005
+ end
1006
+ end
1007
+
1008
+ class ActiveSupport::Duration
1009
+ def initialize(value, parts); end
1010
+
1011
+ def %(other); end
1012
+ def *(other); end
1013
+ def +(other); end
1014
+ def +@; end
1015
+ def -(other); end
1016
+ def -@; end
1017
+ def /(other); end
1018
+ def <=>(other); end
1019
+ def ==(other); end
1020
+ def after(time = T.unsafe(nil)); end
1021
+ def ago(time = T.unsafe(nil)); end
1022
+ def as_json(options = T.unsafe(nil)); end
1023
+ def before(time = T.unsafe(nil)); end
1024
+ def coerce(other); end
1025
+ def encode_with(coder); end
1026
+ def eql?(other); end
1027
+ def from_now(time = T.unsafe(nil)); end
1028
+ def hash; end
1029
+ def in_days; end
1030
+ def in_hours; end
1031
+ def in_minutes; end
1032
+ def in_months; end
1033
+ def in_seconds; end
1034
+ def in_weeks; end
1035
+ def in_years; end
1036
+ def init_with(coder); end
1037
+ def inspect; end
1038
+ def instance_of?(klass); end
1039
+ def is_a?(klass); end
1040
+ def iso8601(precision: T.unsafe(nil)); end
1041
+ def kind_of?(klass); end
1042
+ def parts; end
1043
+ def parts=(_arg0); end
1044
+ def since(time = T.unsafe(nil)); end
1045
+ def to_i; end
1046
+ def to_s; end
1047
+ def until(time = T.unsafe(nil)); end
1048
+ def value; end
1049
+ def value=(_arg0); end
1050
+
1051
+ private
1052
+
1053
+ def method_missing(method, *args, &block); end
1054
+ def raise_type_error(other); end
1055
+ def respond_to_missing?(method, _); end
1056
+ def sum(sign, time = T.unsafe(nil)); end
1057
+
1058
+ class << self
1059
+ def ===(other); end
1060
+ def build(value); end
1061
+ def days(value); end
1062
+ def hours(value); end
1063
+ def minutes(value); end
1064
+ def months(value); end
1065
+ def parse(iso8601duration); end
1066
+ def seconds(value); end
1067
+ def weeks(value); end
1068
+ def years(value); end
1069
+
1070
+ private
1071
+
1072
+ def calculate_total_seconds(parts); end
1073
+ end
1074
+ end
1075
+
1076
+ class ActiveSupport::Duration::ISO8601Parser
1077
+ def initialize(string); end
1078
+
1079
+ def mode; end
1080
+ def mode=(_arg0); end
1081
+ def parse!; end
1082
+ def parts; end
1083
+ def scanner; end
1084
+ def sign; end
1085
+ def sign=(_arg0); end
1086
+
1087
+ private
1088
+
1089
+ def finished?; end
1090
+ def number; end
1091
+ def raise_parsing_error(reason = T.unsafe(nil)); end
1092
+ def scan(pattern); end
1093
+ def validate!; end
1094
+ end
1095
+
1096
+ ActiveSupport::Duration::ISO8601Parser::COMMA = T.let(T.unsafe(nil), String)
1097
+ ActiveSupport::Duration::ISO8601Parser::DATE_COMPONENT = T.let(T.unsafe(nil), Regexp)
1098
+ ActiveSupport::Duration::ISO8601Parser::DATE_COMPONENTS = T.let(T.unsafe(nil), Array)
1099
+ ActiveSupport::Duration::ISO8601Parser::DATE_MARKER = T.let(T.unsafe(nil), Regexp)
1100
+ ActiveSupport::Duration::ISO8601Parser::DATE_TO_PART = T.let(T.unsafe(nil), Hash)
1101
+ ActiveSupport::Duration::ISO8601Parser::PERIOD = T.let(T.unsafe(nil), String)
1102
+ ActiveSupport::Duration::ISO8601Parser::PERIOD_OR_COMMA = T.let(T.unsafe(nil), Regexp)
1103
+ class ActiveSupport::Duration::ISO8601Parser::ParsingError < ::ArgumentError; end
1104
+ ActiveSupport::Duration::ISO8601Parser::SIGN_MARKER = T.let(T.unsafe(nil), Regexp)
1105
+ ActiveSupport::Duration::ISO8601Parser::TIME_COMPONENT = T.let(T.unsafe(nil), Regexp)
1106
+ ActiveSupport::Duration::ISO8601Parser::TIME_COMPONENTS = T.let(T.unsafe(nil), Array)
1107
+ ActiveSupport::Duration::ISO8601Parser::TIME_MARKER = T.let(T.unsafe(nil), Regexp)
1108
+ ActiveSupport::Duration::ISO8601Parser::TIME_TO_PART = T.let(T.unsafe(nil), Hash)
1109
+
1110
+ class ActiveSupport::Duration::ISO8601Serializer
1111
+ def initialize(duration, precision: T.unsafe(nil)); end
1112
+
1113
+ def serialize; end
1114
+
1115
+ private
1116
+
1117
+ def normalize; end
1118
+ def week_mixed_with_date?(parts); end
1119
+ end
1120
+
1121
+ ActiveSupport::Duration::ISO8601Serializer::DATE_COMPONENTS = T.let(T.unsafe(nil), Array)
1122
+ ActiveSupport::Duration::PARTS = T.let(T.unsafe(nil), Array)
1123
+ ActiveSupport::Duration::PARTS_IN_SECONDS = T.let(T.unsafe(nil), Hash)
1124
+ ActiveSupport::Duration::SECONDS_PER_DAY = T.let(T.unsafe(nil), Integer)
1125
+ ActiveSupport::Duration::SECONDS_PER_HOUR = T.let(T.unsafe(nil), Integer)
1126
+ ActiveSupport::Duration::SECONDS_PER_MINUTE = T.let(T.unsafe(nil), Integer)
1127
+ ActiveSupport::Duration::SECONDS_PER_MONTH = T.let(T.unsafe(nil), Integer)
1128
+ ActiveSupport::Duration::SECONDS_PER_WEEK = T.let(T.unsafe(nil), Integer)
1129
+ ActiveSupport::Duration::SECONDS_PER_YEAR = T.let(T.unsafe(nil), Integer)
1130
+
1131
+ class ActiveSupport::Duration::Scalar < ::Numeric
1132
+ def initialize(value); end
1133
+
1134
+ def %(other); end
1135
+ def *(other); end
1136
+ def +(other); end
1137
+ def -(other); end
1138
+ def -@; end
1139
+ def /(other); end
1140
+ def <=>(other); end
1141
+ def coerce(other); end
1142
+ def to_f(*_arg0, &_arg1); end
1143
+ def to_i(*_arg0, &_arg1); end
1144
+ def to_s(*_arg0, &_arg1); end
1145
+ def value; end
1146
+
1147
+ private
1148
+
1149
+ def calculate(op, other); end
1150
+ def raise_type_error(other); end
1151
+ end
1152
+
1153
+ class ActiveSupport::EnvironmentInquirer < ::ActiveSupport::StringInquirer
1154
+ def initialize(env); end
1155
+
1156
+ def development?; end
1157
+ def production?; end
1158
+ def test?; end
1159
+ end
1160
+
1161
+ ActiveSupport::EnvironmentInquirer::DEFAULT_ENVIRONMENTS = T.let(T.unsafe(nil), Array)
1162
+
1163
+ class ActiveSupport::EventedFileUpdateChecker
1164
+ def initialize(files, dirs = T.unsafe(nil), &block); end
1165
+
1166
+ def execute; end
1167
+ def execute_if_updated; end
1168
+ def updated?; end
1169
+ end
1170
+
1171
+ class ActiveSupport::EventedFileUpdateChecker::Core
1172
+ def initialize(files, dirs); end
1173
+
1174
+ def changed(modified, added, removed); end
1175
+ def common_path(paths); end
1176
+ def directories_to_watch; end
1177
+ def finalizer; end
1178
+ def normalize_dirs!; end
1179
+ def restart; end
1180
+ def restart?; end
1181
+ def start; end
1182
+ def stop; end
1183
+ def thread_safely; end
1184
+ def updated; end
1185
+ def watching?(file); end
1186
+ end
1187
+
1188
+ class ActiveSupport::ExecutionWrapper
1189
+ include ::ActiveSupport::Callbacks
1190
+ extend ::ActiveSupport::Callbacks::ClassMethods
1191
+ extend ::ActiveSupport::DescendantsTracker
1192
+
1193
+ def __callbacks; end
1194
+ def __callbacks?; end
1195
+ def _complete_callbacks; end
1196
+ def _run_callbacks; end
1197
+ def _run_complete_callbacks(&block); end
1198
+ def _run_run_callbacks(&block); end
1199
+ def complete!; end
1200
+ def run!; end
1201
+
1202
+ private
1203
+
1204
+ def hook_state; end
1205
+
1206
+ class << self
1207
+ def __callbacks; end
1208
+ def __callbacks=(value); end
1209
+ def __callbacks?; end
1210
+ def _complete_callbacks; end
1211
+ def _complete_callbacks=(value); end
1212
+ def _run_callbacks; end
1213
+ def _run_callbacks=(value); end
1214
+ def active; end
1215
+ def active=(_arg0); end
1216
+ def active?; end
1217
+ def inherited(other); end
1218
+ def register_hook(hook, outer: T.unsafe(nil)); end
1219
+ def run!; end
1220
+ def to_complete(*args, &block); end
1221
+ def to_run(*args, &block); end
1222
+ def wrap; end
1223
+ end
1224
+ end
1225
+
1226
+ class ActiveSupport::ExecutionWrapper::CompleteHook < ::Struct
1227
+ def after(target); end
1228
+ def before(target); end
1229
+ def hook; end
1230
+ def hook=(_); end
1231
+
1232
+ class << self
1233
+ def [](*_arg0); end
1234
+ def inspect; end
1235
+ def members; end
1236
+ def new(*_arg0); end
1237
+ end
1238
+ end
1239
+
1240
+ ActiveSupport::ExecutionWrapper::Null = T.let(T.unsafe(nil), Object)
1241
+
1242
+ class ActiveSupport::ExecutionWrapper::RunHook < ::Struct
1243
+ def before(target); end
1244
+ def hook; end
1245
+ def hook=(_); end
1246
+
1247
+ class << self
1248
+ def [](*_arg0); end
1249
+ def inspect; end
1250
+ def members; end
1251
+ def new(*_arg0); end
1252
+ end
1253
+ end
1254
+
1255
+ class ActiveSupport::Executor < ::ActiveSupport::ExecutionWrapper; end
1256
+
1257
+ class ActiveSupport::FileUpdateChecker
1258
+ def initialize(files, dirs = T.unsafe(nil), &block); end
1259
+
1260
+ def execute; end
1261
+ def execute_if_updated; end
1262
+ def updated?; end
1263
+
1264
+ private
1265
+
1266
+ def compile_ext(array); end
1267
+ def compile_glob(hash); end
1268
+ def escape(key); end
1269
+ def max_mtime(paths); end
1270
+ def updated_at(paths); end
1271
+ def watched; end
1272
+ end
1273
+
1274
+ module ActiveSupport::ForkTracker
1275
+ class << self
1276
+ def after_fork(&block); end
1277
+ def check!; end
1278
+ def hook!; end
1279
+ def unregister(callback); end
1280
+ end
1281
+ end
1282
+
1283
+ module ActiveSupport::ForkTracker::CoreExt
1284
+ def fork(*_arg0); end
1285
+ end
1286
+
1287
+ module ActiveSupport::ForkTracker::CoreExtPrivate
1288
+ private
1289
+
1290
+ def fork(*_arg0); end
1291
+ end
1292
+
1293
+ module ActiveSupport::Gzip
1294
+ class << self
1295
+ def compress(source, level = T.unsafe(nil), strategy = T.unsafe(nil)); end
1296
+ def decompress(source); end
1297
+ end
1298
+ end
1299
+
1300
+ class ActiveSupport::Gzip::Stream < ::StringIO
1301
+ def initialize(*_arg0); end
1302
+
1303
+ def close; end
1304
+ end
1305
+
1306
+ module ActiveSupport::Inflector
1307
+ extend ::ActiveSupport::Inflector
1308
+
1309
+ def camelize(term, uppercase_first_letter = T.unsafe(nil)); end
1310
+ def classify(table_name); end
1311
+ def constantize(camel_cased_word); end
1312
+ def dasherize(underscored_word); end
1313
+ def deconstantize(path); end
1314
+ def demodulize(path); end
1315
+ def foreign_key(class_name, separate_class_name_and_id_with_underscore = T.unsafe(nil)); end
1316
+ def humanize(lower_case_and_underscored_word, capitalize: T.unsafe(nil), keep_id_suffix: T.unsafe(nil)); end
1317
+ def inflections(locale = T.unsafe(nil)); end
1318
+ def ordinal(number); end
1319
+ def ordinalize(number); end
1320
+ def parameterize(string, separator: T.unsafe(nil), preserve_case: T.unsafe(nil), locale: T.unsafe(nil)); end
1321
+ def pluralize(word, locale = T.unsafe(nil)); end
1322
+ def safe_constantize(camel_cased_word); end
1323
+ def singularize(word, locale = T.unsafe(nil)); end
1324
+ def tableize(class_name); end
1325
+ def titleize(word, keep_id_suffix: T.unsafe(nil)); end
1326
+ def transliterate(string, replacement = T.unsafe(nil), locale: T.unsafe(nil)); end
1327
+ def underscore(camel_cased_word); end
1328
+ def upcase_first(string); end
1329
+
1330
+ private
1331
+
1332
+ def apply_inflections(word, rules, locale = T.unsafe(nil)); end
1333
+ def const_regexp(camel_cased_word); end
1334
+ end
1335
+
1336
+ ActiveSupport::Inflector::ALLOWED_ENCODINGS_FOR_TRANSLITERATE = T.let(T.unsafe(nil), Array)
1337
+
1338
+ class ActiveSupport::Inflector::Inflections
1339
+ def initialize; end
1340
+
1341
+ def acronym(word); end
1342
+ def acronyms; end
1343
+ def acronyms_camelize_regex; end
1344
+ def acronyms_underscore_regex; end
1345
+ def clear(scope = T.unsafe(nil)); end
1346
+ def human(rule, replacement); end
1347
+ def humans; end
1348
+ def irregular(singular, plural); end
1349
+ def plural(rule, replacement); end
1350
+ def plurals; end
1351
+ def singular(rule, replacement); end
1352
+ def singulars; end
1353
+ def uncountable(*words); end
1354
+ def uncountables; end
1355
+
1356
+ private
1357
+
1358
+ def define_acronym_regex_patterns; end
1359
+ def initialize_dup(orig); end
1360
+
1361
+ class << self
1362
+ def instance(locale = T.unsafe(nil)); end
1363
+ end
1364
+ end
1365
+
1366
+ class ActiveSupport::Inflector::Inflections::Uncountables < ::Array
1367
+ def initialize; end
1368
+
1369
+ def <<(*word); end
1370
+ def add(words); end
1371
+ def delete(entry); end
1372
+ def uncountable?(str); end
1373
+
1374
+ private
1375
+
1376
+ def to_regex(string); end
1377
+ end
1378
+
1379
+ class ActiveSupport::InheritableOptions < ::ActiveSupport::OrderedOptions
1380
+ def initialize(parent = T.unsafe(nil)); end
1381
+
1382
+ def inheritable_copy; end
1383
+ end
1384
+
1385
+ module ActiveSupport::JSON
1386
+ class << self
1387
+ def decode(json); end
1388
+ def encode(value, options = T.unsafe(nil)); end
1389
+ def parse_error; end
1390
+
1391
+ private
1392
+
1393
+ def convert_dates_from(data); end
1394
+ end
1395
+ end
1396
+
1397
+ ActiveSupport::JSON::DATETIME_REGEX = T.let(T.unsafe(nil), Regexp)
1398
+ ActiveSupport::JSON::DATE_REGEX = T.let(T.unsafe(nil), Regexp)
1399
+
1400
+ module ActiveSupport::JSON::Encoding
1401
+ class << self
1402
+ def escape_html_entities_in_json; end
1403
+ def escape_html_entities_in_json=(_arg0); end
1404
+ def json_encoder; end
1405
+ def json_encoder=(_arg0); end
1406
+ def time_precision; end
1407
+ def time_precision=(_arg0); end
1408
+ def use_standard_json_time_format; end
1409
+ def use_standard_json_time_format=(_arg0); end
1410
+ end
1411
+ end
1412
+
1413
+ class ActiveSupport::JSON::Encoding::JSONGemEncoder
1414
+ def initialize(options = T.unsafe(nil)); end
1415
+
1416
+ def encode(value); end
1417
+ def options; end
1418
+
1419
+ private
1420
+
1421
+ def jsonify(value); end
1422
+ def stringify(jsonified); end
1423
+ end
1424
+
1425
+ ActiveSupport::JSON::Encoding::JSONGemEncoder::ESCAPED_CHARS = T.let(T.unsafe(nil), Hash)
1426
+ ActiveSupport::JSON::Encoding::JSONGemEncoder::ESCAPE_REGEX_WITHOUT_HTML_ENTITIES = T.let(T.unsafe(nil), Regexp)
1427
+ ActiveSupport::JSON::Encoding::JSONGemEncoder::ESCAPE_REGEX_WITH_HTML_ENTITIES = T.let(T.unsafe(nil), Regexp)
1428
+
1429
+ class ActiveSupport::JSON::Encoding::JSONGemEncoder::EscapedString < ::String
1430
+ def to_json(*_arg0); end
1431
+ def to_s; end
1432
+ end
1433
+
1434
+ class ActiveSupport::KeyGenerator
1435
+ def initialize(secret, options = T.unsafe(nil)); end
1436
+
1437
+ def generate_key(salt, key_size = T.unsafe(nil)); end
1438
+ end
1439
+
1440
+ module ActiveSupport::LazyLoadHooks
1441
+ def on_load(name, options = T.unsafe(nil), &block); end
1442
+ def run_load_hooks(name, base = T.unsafe(nil)); end
1443
+
1444
+ private
1445
+
1446
+ def execute_hook(name, base, options, block); end
1447
+ def with_execution_control(name, block, once); end
1448
+
1449
+ class << self
1450
+ def extended(base); end
1451
+ end
1452
+ end
1453
+
1454
+ class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber
1455
+ def colorize_logging; end
1456
+ def colorize_logging=(val); end
1457
+ def debug(progname = T.unsafe(nil), &block); end
1458
+ def error(progname = T.unsafe(nil), &block); end
1459
+ def fatal(progname = T.unsafe(nil), &block); end
1460
+ def finish(name, id, payload); end
1461
+ def info(progname = T.unsafe(nil), &block); end
1462
+ def logger; end
1463
+ def start(name, id, payload); end
1464
+ def unknown(progname = T.unsafe(nil), &block); end
1465
+ def warn(progname = T.unsafe(nil), &block); end
1466
+
1467
+ private
1468
+
1469
+ def color(text, color, bold = T.unsafe(nil)); end
1470
+
1471
+ class << self
1472
+ def colorize_logging; end
1473
+ def colorize_logging=(val); end
1474
+ def flush_all!; end
1475
+ def log_subscribers; end
1476
+ def logger; end
1477
+ def logger=(_arg0); end
1478
+
1479
+ private
1480
+
1481
+ def fetch_public_methods(subscriber, inherit_all); end
1482
+ end
1483
+ end
1484
+
1485
+ ActiveSupport::LogSubscriber::BLACK = T.let(T.unsafe(nil), String)
1486
+ ActiveSupport::LogSubscriber::BLUE = T.let(T.unsafe(nil), String)
1487
+ ActiveSupport::LogSubscriber::BOLD = T.let(T.unsafe(nil), String)
1488
+ ActiveSupport::LogSubscriber::CLEAR = T.let(T.unsafe(nil), String)
1489
+ ActiveSupport::LogSubscriber::CYAN = T.let(T.unsafe(nil), String)
1490
+ ActiveSupport::LogSubscriber::GREEN = T.let(T.unsafe(nil), String)
1491
+ ActiveSupport::LogSubscriber::MAGENTA = T.let(T.unsafe(nil), String)
1492
+ ActiveSupport::LogSubscriber::RED = T.let(T.unsafe(nil), String)
1493
+ ActiveSupport::LogSubscriber::WHITE = T.let(T.unsafe(nil), String)
1494
+ ActiveSupport::LogSubscriber::YELLOW = T.let(T.unsafe(nil), String)
1495
+
1496
+ class ActiveSupport::Logger < ::Logger
1497
+ include ::ActiveSupport::LoggerSilence
1498
+ include ::ActiveSupport::LoggerThreadSafeLevel
1499
+
1500
+ def initialize(*args, **kwargs); end
1501
+
1502
+ def silencer; end
1503
+ def silencer=(val); end
1504
+
1505
+ class << self
1506
+ def broadcast(logger); end
1507
+ def local_levels; end
1508
+ def local_levels=(val); end
1509
+ def logger_outputs_to?(logger, *sources); end
1510
+ def silencer; end
1511
+ def silencer=(val); end
1512
+ end
1513
+ end
1514
+
1515
+ class ActiveSupport::Logger::SimpleFormatter < ::Logger::Formatter
1516
+ def call(severity, timestamp, progname, msg); end
1517
+ end
1518
+
1519
+ module ActiveSupport::LoggerSilence
1520
+ extend ::ActiveSupport::Concern
1521
+ include ::ActiveSupport::LoggerThreadSafeLevel
1522
+
1523
+ def silence(severity = T.unsafe(nil)); end
1524
+ end
1525
+
1526
+ module ActiveSupport::LoggerThreadSafeLevel
1527
+ extend ::ActiveSupport::Concern
1528
+
1529
+ def add(severity, message = T.unsafe(nil), progname = T.unsafe(nil), &block); end
1530
+ def debug?; end
1531
+ def error?; end
1532
+ def fatal?; end
1533
+ def info?; end
1534
+ def level; end
1535
+ def local_level; end
1536
+ def local_level=(level); end
1537
+ def local_log_id; end
1538
+ def log_at(level); end
1539
+ def unknown?; end
1540
+ def warn?; end
1541
+ end
1542
+
1543
+ module ActiveSupport::MarshalWithAutoloading
1544
+ def load(source, proc = T.unsafe(nil)); end
1545
+ end
1546
+
1547
+ class ActiveSupport::MessageEncryptor
1548
+ include ::ActiveSupport::Messages::Rotator
1549
+ include ::ActiveSupport::Messages::Rotator::Encryptor
1550
+
1551
+ def encrypt_and_sign(value, expires_at: T.unsafe(nil), expires_in: T.unsafe(nil), purpose: T.unsafe(nil)); end
1552
+
1553
+ private
1554
+
1555
+ def _decrypt(encrypted_message, purpose); end
1556
+ def _encrypt(value, **metadata_options); end
1557
+ def aead_mode?; end
1558
+ def new_cipher; end
1559
+ def resolve_verifier; end
1560
+ def verifier; end
1561
+
1562
+ class << self
1563
+ def default_cipher; end
1564
+ def key_len(cipher = T.unsafe(nil)); end
1565
+ def use_authenticated_message_encryption; end
1566
+ def use_authenticated_message_encryption=(val); end
1567
+ end
1568
+ end
1569
+
1570
+ class ActiveSupport::MessageEncryptor::InvalidMessage < ::StandardError; end
1571
+
1572
+ module ActiveSupport::MessageEncryptor::NullSerializer
1573
+ class << self
1574
+ def dump(value); end
1575
+ def load(value); end
1576
+ end
1577
+ end
1578
+
1579
+ module ActiveSupport::MessageEncryptor::NullVerifier
1580
+ class << self
1581
+ def generate(value); end
1582
+ def verify(value); end
1583
+ end
1584
+ end
1585
+
1586
+ ActiveSupport::MessageEncryptor::OpenSSLCipherError = OpenSSL::Cipher::CipherError
1587
+
1588
+ class ActiveSupport::MessageVerifier
1589
+ include ::ActiveSupport::Messages::Rotator
1590
+ include ::ActiveSupport::Messages::Rotator::Verifier
1591
+
1592
+ def generate(value, expires_at: T.unsafe(nil), expires_in: T.unsafe(nil), purpose: T.unsafe(nil)); end
1593
+ def valid_message?(signed_message); end
1594
+ def verify(*args, **options); end
1595
+
1596
+ private
1597
+
1598
+ def decode(data); end
1599
+ def encode(data); end
1600
+ def generate_digest(data); end
1601
+ end
1602
+
1603
+ class ActiveSupport::MessageVerifier::InvalidSignature < ::StandardError; end
1604
+ module ActiveSupport::Messages; end
1605
+
1606
+ class ActiveSupport::Messages::Metadata
1607
+ def initialize(message, expires_at = T.unsafe(nil), purpose = T.unsafe(nil)); end
1608
+
1609
+ def as_json(options = T.unsafe(nil)); end
1610
+ def verify(purpose); end
1611
+
1612
+ private
1613
+
1614
+ def fresh?; end
1615
+ def match?(purpose); end
1616
+ def parse_expires_at(expires_at); end
1617
+
1618
+ class << self
1619
+ def verify(message, purpose); end
1620
+ def wrap(message, expires_at: T.unsafe(nil), expires_in: T.unsafe(nil), purpose: T.unsafe(nil)); end
1621
+
1622
+ private
1623
+
1624
+ def decode(message); end
1625
+ def encode(message); end
1626
+ def extract_metadata(message); end
1627
+ def pick_expiry(expires_at, expires_in); end
1628
+ end
1629
+ end
1630
+
1631
+ module ActiveSupport::Messages::Rotator
1632
+ def initialize(*secrets, on_rotation: T.unsafe(nil), **options); end
1633
+
1634
+ def rotate(*secrets, **options); end
1635
+
1636
+ private
1637
+
1638
+ def run_rotations(on_rotation); end
1639
+ end
1640
+
1641
+ module ActiveSupport::Messages::Rotator::Encryptor
1642
+ include ::ActiveSupport::Messages::Rotator
1643
+
1644
+ def decrypt_and_verify(*args, on_rotation: T.unsafe(nil), **options); end
1645
+
1646
+ private
1647
+
1648
+ def build_rotation(secret = T.unsafe(nil), sign_secret = T.unsafe(nil), options); end
1649
+ end
1650
+
1651
+ module ActiveSupport::Messages::Rotator::Verifier
1652
+ include ::ActiveSupport::Messages::Rotator
1653
+
1654
+ def verified(*args, on_rotation: T.unsafe(nil), **options); end
1655
+
1656
+ private
1657
+
1658
+ def build_rotation(secret = T.unsafe(nil), options); end
1659
+ end
1660
+
1661
+ module ActiveSupport::Multibyte
1662
+ class << self
1663
+ def proxy_class; end
1664
+ def proxy_class=(klass); end
1665
+ end
1666
+ end
1667
+
1668
+ class ActiveSupport::Multibyte::Chars
1669
+ include ::Comparable
1670
+
1671
+ def initialize(string); end
1672
+
1673
+ def <=>(*_arg0, &_arg1); end
1674
+ def =~(*_arg0, &_arg1); end
1675
+ def acts_like_string?(*_arg0, &_arg1); end
1676
+ def as_json(options = T.unsafe(nil)); end
1677
+ def compose; end
1678
+ def decompose; end
1679
+ def grapheme_length; end
1680
+ def limit(limit); end
1681
+ def match?(*_arg0, &_arg1); end
1682
+ def method_missing(method, *args, &block); end
1683
+ def reverse; end
1684
+ def reverse!(*args); end
1685
+ def slice!(*args); end
1686
+ def split(*args); end
1687
+ def tidy_bytes(force = T.unsafe(nil)); end
1688
+ def tidy_bytes!(*args); end
1689
+ def titlecase; end
1690
+ def titleize; end
1691
+ def to_s; end
1692
+ def to_str; end
1693
+ def wrapped_string; end
1694
+
1695
+ private
1696
+
1697
+ def chars(string); end
1698
+ def respond_to_missing?(method, include_private); end
1699
+ end
1700
+
1701
+ module ActiveSupport::Multibyte::Unicode
1702
+ extend ::ActiveSupport::Multibyte::Unicode
1703
+
1704
+ def compose(codepoints); end
1705
+ def decompose(type, codepoints); end
1706
+ def default_normalization_form; end
1707
+ def default_normalization_form=(_); end
1708
+ def tidy_bytes(string, force = T.unsafe(nil)); end
1709
+
1710
+ private
1711
+
1712
+ def recode_windows1252_chars(string); end
1713
+ end
1714
+
1715
+ ActiveSupport::Multibyte::Unicode::UNICODE_VERSION = T.let(T.unsafe(nil), String)
1716
+
1717
+ module ActiveSupport::Notifications
1718
+ class << self
1719
+ def instrument(name, payload = T.unsafe(nil)); end
1720
+ def instrumenter; end
1721
+ def monotonic_subscribe(pattern = T.unsafe(nil), callback = T.unsafe(nil), &block); end
1722
+ def notifier; end
1723
+ def notifier=(_arg0); end
1724
+ def publish(name, *args); end
1725
+ def subscribe(pattern = T.unsafe(nil), callback = T.unsafe(nil), &block); end
1726
+ def subscribed(callback, pattern = T.unsafe(nil), monotonic: T.unsafe(nil), &block); end
1727
+ def unsubscribe(subscriber_or_name); end
1728
+ end
1729
+ end
1730
+
1731
+ class ActiveSupport::Notifications::Event
1732
+ def initialize(name, start, ending, transaction_id, payload); end
1733
+
1734
+ def <<(event); end
1735
+ def allocations; end
1736
+ def children; end
1737
+ def cpu_time; end
1738
+ def duration; end
1739
+ def end; end
1740
+ def finish!; end
1741
+ def idle_time; end
1742
+ def name; end
1743
+ def parent_of?(event); end
1744
+ def payload; end
1745
+ def payload=(_arg0); end
1746
+ def start!; end
1747
+ def time; end
1748
+ def transaction_id; end
1749
+
1750
+ private
1751
+
1752
+ def now; end
1753
+ def now_allocations; end
1754
+ def now_cpu; end
1755
+ end
1756
+
1757
+ class ActiveSupport::Notifications::Fanout
1758
+ include ::Mutex_m
1759
+
1760
+ def initialize; end
1761
+
1762
+ def finish(name, id, payload, listeners = T.unsafe(nil)); end
1763
+ def listeners_for(name); end
1764
+ def listening?(name); end
1765
+ def lock; end
1766
+ def locked?; end
1767
+ def publish(name, *args); end
1768
+ def start(name, id, payload); end
1769
+ def subscribe(pattern = T.unsafe(nil), callable = T.unsafe(nil), monotonic: T.unsafe(nil), &block); end
1770
+ def synchronize(&block); end
1771
+ def try_lock; end
1772
+ def unlock; end
1773
+ def unsubscribe(subscriber_or_name); end
1774
+ def wait; end
1775
+ end
1776
+
1777
+ module ActiveSupport::Notifications::Fanout::Subscribers
1778
+ class << self
1779
+ def new(pattern, listener, monotonic); end
1780
+ def wrap_all(pattern, subscriber); end
1781
+ end
1782
+ end
1783
+
1784
+ class ActiveSupport::Notifications::Fanout::Subscribers::AllMessages
1785
+ def initialize(delegate); end
1786
+
1787
+ def finish(name, id, payload); end
1788
+ def matches?(_arg0); end
1789
+ def publish(name, *args); end
1790
+ def start(name, id, payload); end
1791
+ def subscribed_to?(name); end
1792
+ def unsubscribe!(*_arg0); end
1793
+ end
1794
+
1795
+ class ActiveSupport::Notifications::Fanout::Subscribers::EventObject < ::ActiveSupport::Notifications::Fanout::Subscribers::Evented
1796
+ def finish(name, id, payload); end
1797
+ def start(name, id, payload); end
1798
+
1799
+ private
1800
+
1801
+ def build_event(name, id, payload); end
1802
+ end
1803
+
1804
+ class ActiveSupport::Notifications::Fanout::Subscribers::Evented
1805
+ def initialize(pattern, delegate); end
1806
+
1807
+ def finish(name, id, payload); end
1808
+ def matches?(name); end
1809
+ def pattern; end
1810
+ def publish(name, *args); end
1811
+ def start(name, id, payload); end
1812
+ def subscribed_to?(name); end
1813
+ def unsubscribe!(name); end
1814
+ end
1815
+
1816
+ class ActiveSupport::Notifications::Fanout::Subscribers::Matcher
1817
+ def initialize(pattern); end
1818
+
1819
+ def ===(name); end
1820
+ def exclusions; end
1821
+ def pattern; end
1822
+ def unsubscribe!(name); end
1823
+
1824
+ class << self
1825
+ def wrap(pattern); end
1826
+ end
1827
+ end
1828
+
1829
+ class ActiveSupport::Notifications::Fanout::Subscribers::MonotonicTimed < ::ActiveSupport::Notifications::Fanout::Subscribers::Evented
1830
+ def finish(name, id, payload); end
1831
+ def publish(name, *args); end
1832
+ def start(name, id, payload); end
1833
+ end
1834
+
1835
+ class ActiveSupport::Notifications::Fanout::Subscribers::Timed < ::ActiveSupport::Notifications::Fanout::Subscribers::Evented
1836
+ def finish(name, id, payload); end
1837
+ def publish(name, *args); end
1838
+ def start(name, id, payload); end
1839
+ end
1840
+
1841
+ class ActiveSupport::Notifications::InstrumentationRegistry
1842
+ extend ::ActiveSupport::PerThreadRegistry
1843
+
1844
+ def initialize; end
1845
+
1846
+ def instrumenter_for(notifier); end
1847
+ end
1848
+
1849
+ class ActiveSupport::Notifications::Instrumenter
1850
+ def initialize(notifier); end
1851
+
1852
+ def finish(name, payload); end
1853
+ def finish_with_state(listeners_state, name, payload); end
1854
+ def id; end
1855
+ def instrument(name, payload = T.unsafe(nil)); end
1856
+ def start(name, payload); end
1857
+
1858
+ private
1859
+
1860
+ def unique_id; end
1861
+ end
1862
+
1863
+ module ActiveSupport::NumberHelper
1864
+ extend ::ActiveSupport::Autoload
1865
+ extend ::ActiveSupport::NumberHelper
1866
+
1867
+ def number_to_currency(number, options = T.unsafe(nil)); end
1868
+ def number_to_delimited(number, options = T.unsafe(nil)); end
1869
+ def number_to_human(number, options = T.unsafe(nil)); end
1870
+ def number_to_human_size(number, options = T.unsafe(nil)); end
1871
+ def number_to_percentage(number, options = T.unsafe(nil)); end
1872
+ def number_to_phone(number, options = T.unsafe(nil)); end
1873
+ def number_to_rounded(number, options = T.unsafe(nil)); end
1874
+ end
1875
+
1876
+ class ActiveSupport::NumberHelper::NumberConverter
1877
+ def initialize(number, options); end
1878
+
1879
+ def execute; end
1880
+ def namespace; end
1881
+ def namespace=(_arg0); end
1882
+ def namespace?; end
1883
+ def number; end
1884
+ def opts; end
1885
+ def validate_float; end
1886
+ def validate_float=(_arg0); end
1887
+ def validate_float?; end
1888
+
1889
+ private
1890
+
1891
+ def default_format_options; end
1892
+ def default_value(key); end
1893
+ def format_options; end
1894
+ def i18n_format_options; end
1895
+ def options; end
1896
+ def translate_in_locale(key, **i18n_options); end
1897
+ def translate_number_value_with_default(key, **i18n_options); end
1898
+ def valid_float?; end
1899
+
1900
+ class << self
1901
+ def convert(number, options); end
1902
+ def namespace; end
1903
+ def namespace=(value); end
1904
+ def namespace?; end
1905
+ def validate_float; end
1906
+ def validate_float=(value); end
1907
+ def validate_float?; end
1908
+ end
1909
+ end
1910
+
1911
+ ActiveSupport::NumberHelper::NumberConverter::DEFAULTS = T.let(T.unsafe(nil), Hash)
1912
+
1913
+ class ActiveSupport::NumberHelper::NumberToCurrencyConverter < ::ActiveSupport::NumberHelper::NumberConverter
1914
+ def convert; end
1915
+
1916
+ private
1917
+
1918
+ def i18n_opts; end
1919
+ def options; end
1920
+
1921
+ class << self
1922
+ def namespace; end
1923
+ end
1924
+ end
1925
+
1926
+ class ActiveSupport::NumberHelper::NumberToDelimitedConverter < ::ActiveSupport::NumberHelper::NumberConverter
1927
+ def convert; end
1928
+
1929
+ private
1930
+
1931
+ def delimiter_pattern; end
1932
+ def parts; end
1933
+
1934
+ class << self
1935
+ def validate_float; end
1936
+ end
1937
+ end
1938
+
1939
+ ActiveSupport::NumberHelper::NumberToDelimitedConverter::DEFAULT_DELIMITER_REGEX = T.let(T.unsafe(nil), Regexp)
1940
+
1941
+ class ActiveSupport::NumberHelper::NumberToHumanConverter < ::ActiveSupport::NumberHelper::NumberConverter
1942
+ def convert; end
1943
+
1944
+ private
1945
+
1946
+ def calculate_exponent(units); end
1947
+ def determine_unit(units, exponent); end
1948
+ def format; end
1949
+ def unit_exponents(units); end
1950
+
1951
+ class << self
1952
+ def namespace; end
1953
+ def validate_float; end
1954
+ end
1955
+ end
1956
+
1957
+ ActiveSupport::NumberHelper::NumberToHumanConverter::DECIMAL_UNITS = T.let(T.unsafe(nil), Hash)
1958
+ ActiveSupport::NumberHelper::NumberToHumanConverter::INVERTED_DECIMAL_UNITS = T.let(T.unsafe(nil), Hash)
1959
+
1960
+ class ActiveSupport::NumberHelper::NumberToHumanSizeConverter < ::ActiveSupport::NumberHelper::NumberConverter
1961
+ def convert; end
1962
+
1963
+ private
1964
+
1965
+ def base; end
1966
+ def conversion_format; end
1967
+ def exponent; end
1968
+ def smaller_than_base?; end
1969
+ def storage_unit_key; end
1970
+ def unit; end
1971
+
1972
+ class << self
1973
+ def namespace; end
1974
+ def validate_float; end
1975
+ end
1976
+ end
1977
+
1978
+ ActiveSupport::NumberHelper::NumberToHumanSizeConverter::STORAGE_UNITS = T.let(T.unsafe(nil), Array)
1979
+
1980
+ class ActiveSupport::NumberHelper::NumberToPercentageConverter < ::ActiveSupport::NumberHelper::NumberConverter
1981
+ def convert; end
1982
+
1983
+ class << self
1984
+ def namespace; end
1985
+ end
1986
+ end
1987
+
1988
+ class ActiveSupport::NumberHelper::NumberToPhoneConverter < ::ActiveSupport::NumberHelper::NumberConverter
1989
+ def convert; end
1990
+
1991
+ private
1992
+
1993
+ def convert_to_phone_number(number); end
1994
+ def convert_with_area_code(number); end
1995
+ def convert_without_area_code(number); end
1996
+ def country_code(code); end
1997
+ def delimiter; end
1998
+ def phone_ext(ext); end
1999
+ def regexp_pattern(default_pattern); end
2000
+ def start_with_delimiter?(number); end
2001
+ end
2002
+
2003
+ class ActiveSupport::NumberHelper::NumberToRoundedConverter < ::ActiveSupport::NumberHelper::NumberConverter
2004
+ def convert; end
2005
+
2006
+ private
2007
+
2008
+ def format_number(number); end
2009
+ def strip_insignificant_zeros; end
2010
+
2011
+ class << self
2012
+ def namespace; end
2013
+ def validate_float; end
2014
+ end
2015
+ end
2016
+
2017
+ class ActiveSupport::NumberHelper::RoundingHelper
2018
+ def initialize(options); end
2019
+
2020
+ def digit_count(number); end
2021
+ def options; end
2022
+ def round(number); end
2023
+
2024
+ private
2025
+
2026
+ def absolute_precision(number); end
2027
+ def convert_to_decimal(number); end
2028
+ def significant; end
2029
+ end
2030
+
2031
+ class ActiveSupport::OptionMerger
2032
+ def initialize(context, options); end
2033
+
2034
+ private
2035
+
2036
+ def invoke_method(method, arguments, options, &block); end
2037
+ def method_missing(method, *arguments, &block); end
2038
+ end
2039
+
2040
+ class ActiveSupport::OrderedHash < ::Hash
2041
+ def encode_with(coder); end
2042
+ def extractable_options?; end
2043
+ def nested_under_indifferent_access; end
2044
+ def reject(*args, &block); end
2045
+ def select(*args, &block); end
2046
+ def to_yaml_type; end
2047
+ end
2048
+
2049
+ class ActiveSupport::OrderedOptions < ::Hash
2050
+ def [](key); end
2051
+ def []=(key, value); end
2052
+ def extractable_options?; end
2053
+ def inspect; end
2054
+ def method_missing(name, *args); end
2055
+
2056
+ protected
2057
+
2058
+ def _get(_arg0); end
2059
+
2060
+ private
2061
+
2062
+ def respond_to_missing?(name, include_private); end
2063
+ end
2064
+
2065
+ module ActiveSupport::PerThreadRegistry
2066
+ def instance; end
2067
+
2068
+ private
2069
+
2070
+ def method_missing(name, *args, &block); end
2071
+
2072
+ class << self
2073
+ def extended(object); end
2074
+ end
2075
+ end
2076
+
2077
+ class ActiveSupport::ProxyObject < ::BasicObject
2078
+ def raise(*args); end
2079
+ end
2080
+
2081
+ class ActiveSupport::Reloader < ::ActiveSupport::ExecutionWrapper
2082
+ def initialize; end
2083
+
2084
+ def _class_unload_callbacks; end
2085
+ def _prepare_callbacks; end
2086
+ def _run_class_unload_callbacks(&block); end
2087
+ def _run_prepare_callbacks(&block); end
2088
+ def check; end
2089
+ def check=(_arg0); end
2090
+ def check?; end
2091
+ def class_unload!(&block); end
2092
+ def complete!; end
2093
+ def executor; end
2094
+ def executor=(_arg0); end
2095
+ def executor?; end
2096
+ def release_unload_lock!; end
2097
+ def require_unload_lock!; end
2098
+ def run!; end
2099
+
2100
+ class << self
2101
+ def __callbacks; end
2102
+ def _class_unload_callbacks; end
2103
+ def _class_unload_callbacks=(value); end
2104
+ def _prepare_callbacks; end
2105
+ def _prepare_callbacks=(value); end
2106
+ def after_class_unload(*args, &block); end
2107
+ def before_class_unload(*args, &block); end
2108
+ def check; end
2109
+ def check!; end
2110
+ def check=(value); end
2111
+ def check?; end
2112
+ def executor; end
2113
+ def executor=(value); end
2114
+ def executor?; end
2115
+ def prepare!; end
2116
+ def reload!; end
2117
+ def reloaded!; end
2118
+ def run!; end
2119
+ def to_prepare(*args, &block); end
2120
+ def wrap; end
2121
+ end
2122
+ end
2123
+
2124
+ module ActiveSupport::Rescuable
2125
+ extend ::ActiveSupport::Concern
2126
+
2127
+ mixes_in_class_methods ::ActiveSupport::Rescuable::ClassMethods
2128
+
2129
+ def handler_for_rescue(exception); end
2130
+ def rescue_with_handler(exception); end
2131
+ end
2132
+
2133
+ module ActiveSupport::Rescuable::ClassMethods
2134
+ def handler_for_rescue(exception, object: T.unsafe(nil)); end
2135
+ def rescue_from(*klasses, with: T.unsafe(nil), &block); end
2136
+ def rescue_with_handler(exception, object: T.unsafe(nil), visited_exceptions: T.unsafe(nil)); end
2137
+
2138
+ private
2139
+
2140
+ def constantize_rescue_handler_class(class_or_name); end
2141
+ def find_rescue_handler(exception); end
2142
+ end
2143
+
2144
+ class ActiveSupport::SafeBuffer < ::String
2145
+ def initialize(str = T.unsafe(nil)); end
2146
+
2147
+ def %(args); end
2148
+ def *(*_arg0); end
2149
+ def +(other); end
2150
+ def <<(value); end
2151
+ def [](*args); end
2152
+ def []=(*args); end
2153
+ def capitalize(*args, &block); end
2154
+ def capitalize!(*args); end
2155
+ def chomp(*args, &block); end
2156
+ def chomp!(*args); end
2157
+ def chop(*args, &block); end
2158
+ def chop!(*args); end
2159
+ def clone_empty; end
2160
+ def concat(value); end
2161
+ def delete(*args, &block); end
2162
+ def delete!(*args); end
2163
+ def delete_prefix(*args, &block); end
2164
+ def delete_prefix!(*args); end
2165
+ def delete_suffix(*args, &block); end
2166
+ def delete_suffix!(*args); end
2167
+ def downcase(*args, &block); end
2168
+ def downcase!(*args); end
2169
+ def encode_with(coder); end
2170
+ def gsub(*args, &block); end
2171
+ def gsub!(*args, &block); end
2172
+ def html_safe?; end
2173
+ def insert(index, value); end
2174
+ def lstrip(*args, &block); end
2175
+ def lstrip!(*args); end
2176
+ def next(*args, &block); end
2177
+ def next!(*args); end
2178
+ def prepend(value); end
2179
+ def replace(value); end
2180
+ def reverse(*args, &block); end
2181
+ def reverse!(*args); end
2182
+ def rstrip(*args, &block); end
2183
+ def rstrip!(*args); end
2184
+ def safe_concat(value); end
2185
+ def scrub(*args, &block); end
2186
+ def scrub!(*args); end
2187
+ def slice(*args, &block); end
2188
+ def slice!(*args); end
2189
+ def squeeze(*args, &block); end
2190
+ def squeeze!(*args); end
2191
+ def strip(*args, &block); end
2192
+ def strip!(*args); end
2193
+ def sub(*args, &block); end
2194
+ def sub!(*args, &block); end
2195
+ def succ(*args, &block); end
2196
+ def succ!(*args); end
2197
+ def swapcase(*args, &block); end
2198
+ def swapcase!(*args); end
2199
+ def to_param; end
2200
+ def to_s; end
2201
+ def tr(*args, &block); end
2202
+ def tr!(*args); end
2203
+ def tr_s(*args, &block); end
2204
+ def tr_s!(*args); end
2205
+ def unicode_normalize(*args, &block); end
2206
+ def unicode_normalize!(*args); end
2207
+ def upcase(*args, &block); end
2208
+ def upcase!(*args); end
2209
+
2210
+ private
2211
+
2212
+ def html_escape_interpolated_argument(arg); end
2213
+ def initialize_copy(other); end
2214
+ def original_concat(*_arg0); end
2215
+ def set_block_back_references(block, match_data); end
2216
+ end
2217
+
2218
+ class ActiveSupport::SafeBuffer::SafeConcatError < ::StandardError
2219
+ def initialize; end
2220
+ end
2221
+
2222
+ ActiveSupport::SafeBuffer::UNSAFE_STRING_METHODS = T.let(T.unsafe(nil), Array)
2223
+ ActiveSupport::SafeBuffer::UNSAFE_STRING_METHODS_WITH_BACKREF = T.let(T.unsafe(nil), Array)
2224
+
2225
+ class ActiveSupport::SecureCompareRotator
2226
+ include ::ActiveSupport::Messages::Rotator
2227
+ include ::ActiveSupport::SecurityUtils
2228
+
2229
+ def secure_compare!(other_value, on_rotation: T.unsafe(nil)); end
2230
+
2231
+ private
2232
+
2233
+ def build_rotation(previous_value, _options); end
2234
+ end
2235
+
2236
+ class ActiveSupport::SecureCompareRotator::InvalidMatch < ::StandardError; end
2237
+
2238
+ module ActiveSupport::SecurityUtils
2239
+ private
2240
+
2241
+ def fixed_length_secure_compare(a, b); end
2242
+ def secure_compare(a, b); end
2243
+
2244
+ class << self
2245
+ def fixed_length_secure_compare(a, b); end
2246
+ def secure_compare(a, b); end
2247
+ end
2248
+ end
2249
+
2250
+ class ActiveSupport::StringInquirer < ::String
2251
+ private
2252
+
2253
+ def method_missing(method_name, *arguments); end
2254
+ def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end
2255
+ end
2256
+
2257
+ class ActiveSupport::Subscriber
2258
+ def initialize; end
2259
+
2260
+ def finish(name, id, payload); end
2261
+ def patterns; end
2262
+ def start(name, id, payload); end
2263
+
2264
+ private
2265
+
2266
+ def event_stack; end
2267
+
2268
+ class << self
2269
+ def attach_to(namespace, subscriber = T.unsafe(nil), notifier = T.unsafe(nil), inherit_all: T.unsafe(nil)); end
2270
+ def detach_from(namespace, notifier = T.unsafe(nil)); end
2271
+ def method_added(event); end
2272
+ def subscribers; end
2273
+
2274
+ private
2275
+
2276
+ def add_event_subscriber(event); end
2277
+ def fetch_public_methods(subscriber, inherit_all); end
2278
+ def find_attached_subscriber; end
2279
+ def invalid_event?(event); end
2280
+ def namespace; end
2281
+ def notifier; end
2282
+ def pattern_subscribed?(pattern); end
2283
+ def prepare_pattern(event); end
2284
+ def remove_event_subscriber(event); end
2285
+ def subscriber; end
2286
+ end
2287
+ end
2288
+
2289
+ class ActiveSupport::SubscriberQueueRegistry
2290
+ extend ::ActiveSupport::PerThreadRegistry
2291
+
2292
+ def initialize; end
2293
+
2294
+ def get_queue(queue_key); end
2295
+ end
2296
+
2297
+ module ActiveSupport::TaggedLogging
2298
+ def clear_tags!(*_arg0, &_arg1); end
2299
+ def flush; end
2300
+ def pop_tags(*_arg0, &_arg1); end
2301
+ def push_tags(*_arg0, &_arg1); end
2302
+ def tagged(*tags); end
2303
+
2304
+ class << self
2305
+ def new(logger); end
2306
+ end
2307
+ end
2308
+
2309
+ module ActiveSupport::TaggedLogging::Formatter
2310
+ def call(severity, timestamp, progname, msg); end
2311
+ def clear_tags!; end
2312
+ def current_tags; end
2313
+ def pop_tags(size = T.unsafe(nil)); end
2314
+ def push_tags(*tags); end
2315
+ def tagged(*tags); end
2316
+ def tags_text; end
2317
+ end
2318
+
2319
+ module ActiveSupport::TaggedLogging::LocalTagStorage
2320
+ def current_tags; end
2321
+ def current_tags=(_arg0); end
2322
+
2323
+ class << self
2324
+ def extended(base); end
2325
+ end
2326
+ end
2327
+
2328
+ class ActiveSupport::TestCase < ::Minitest::Test
2329
+ include ::ActiveSupport::Testing::SetupAndTeardown
2330
+ include ::ActiveSupport::Testing::TaggedLogging
2331
+ include ::ActiveSupport::Callbacks
2332
+ include ::ActiveSupport::Testing::Assertions
2333
+ include ::ActiveSupport::Testing::Deprecation
2334
+ include ::ActiveSupport::Testing::TimeHelpers
2335
+ include ::ActiveSupport::Testing::FileFixtures
2336
+ extend ::ActiveSupport::Callbacks::ClassMethods
2337
+ extend ::ActiveSupport::DescendantsTracker
2338
+ extend ::ActiveSupport::Testing::SetupAndTeardown::ClassMethods
2339
+ extend ::ActiveSupport::Testing::Declarative
2340
+
2341
+ def __callbacks; end
2342
+ def __callbacks?; end
2343
+ def _run_setup_callbacks(&block); end
2344
+ def _run_teardown_callbacks(&block); end
2345
+ def _setup_callbacks; end
2346
+ def _teardown_callbacks; end
2347
+ def assert_no_match(matcher, obj, msg = T.unsafe(nil)); end
2348
+ def assert_not_empty(obj, msg = T.unsafe(nil)); end
2349
+ def assert_not_equal(exp, act, msg = T.unsafe(nil)); end
2350
+ def assert_not_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end
2351
+ def assert_not_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end
2352
+ def assert_not_includes(collection, obj, msg = T.unsafe(nil)); end
2353
+ def assert_not_instance_of(cls, obj, msg = T.unsafe(nil)); end
2354
+ def assert_not_kind_of(cls, obj, msg = T.unsafe(nil)); end
2355
+ def assert_not_nil(obj, msg = T.unsafe(nil)); end
2356
+ def assert_not_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end
2357
+ def assert_not_predicate(o1, op, msg = T.unsafe(nil)); end
2358
+ def assert_not_respond_to(obj, meth, msg = T.unsafe(nil)); end
2359
+ def assert_not_same(exp, act, msg = T.unsafe(nil)); end
2360
+ def assert_raise(*exp); end
2361
+ def file_fixture_path; end
2362
+ def file_fixture_path?; end
2363
+ def method_name; end
2364
+
2365
+ class << self
2366
+ def __callbacks; end
2367
+ def __callbacks=(value); end
2368
+ def __callbacks?; end
2369
+ def _setup_callbacks; end
2370
+ def _setup_callbacks=(value); end
2371
+ def _teardown_callbacks; end
2372
+ def _teardown_callbacks=(value); end
2373
+ def file_fixture_path; end
2374
+ def file_fixture_path=(value); end
2375
+ def file_fixture_path?; end
2376
+ def parallelize(workers: T.unsafe(nil), with: T.unsafe(nil)); end
2377
+ def parallelize_setup(&block); end
2378
+ def parallelize_teardown(&block); end
2379
+ def test_order; end
2380
+ def test_order=(new_order); end
2381
+ end
2382
+ end
2383
+
2384
+ ActiveSupport::TestCase::Assertion = Minitest::Assertion
2385
+ module ActiveSupport::Testing; end
2386
+
2387
+ module ActiveSupport::Testing::Assertions
2388
+ def assert_changes(expression, message = T.unsafe(nil), from: T.unsafe(nil), to: T.unsafe(nil), &block); end
2389
+ def assert_difference(expression, *args, &block); end
2390
+ def assert_no_changes(expression, message = T.unsafe(nil), &block); end
2391
+ def assert_no_difference(expression, message = T.unsafe(nil), &block); end
2392
+ def assert_not(object, message = T.unsafe(nil)); end
2393
+ def assert_nothing_raised; end
2394
+ end
2395
+
2396
+ ActiveSupport::Testing::Assertions::UNTRACKED = T.let(T.unsafe(nil), Object)
2397
+
2398
+ module ActiveSupport::Testing::ConstantLookup
2399
+ extend ::ActiveSupport::Concern
2400
+
2401
+ mixes_in_class_methods ::ActiveSupport::Testing::ConstantLookup::ClassMethods
2402
+ end
2403
+
2404
+ module ActiveSupport::Testing::ConstantLookup::ClassMethods
2405
+ def determine_constant_from_test_name(test_name); end
2406
+ end
2407
+
2408
+ module ActiveSupport::Testing::Declarative
2409
+ def test(name, &block); end
2410
+ end
2411
+
2412
+ module ActiveSupport::Testing::Deprecation
2413
+ def assert_deprecated(match = T.unsafe(nil), deprecator = T.unsafe(nil), &block); end
2414
+ def assert_not_deprecated(deprecator = T.unsafe(nil), &block); end
2415
+ def collect_deprecations(deprecator = T.unsafe(nil)); end
2416
+ end
2417
+
2418
+ module ActiveSupport::Testing::FileFixtures
2419
+ extend ::ActiveSupport::Concern
2420
+
2421
+ def file_fixture(fixture_name); end
2422
+ end
2423
+
2424
+ module ActiveSupport::Testing::Isolation
2425
+ include ::ActiveSupport::Testing::Isolation::Forking
2426
+
2427
+ def run; end
2428
+
2429
+ class << self
2430
+ def forking_env?; end
2431
+ def included(klass); end
2432
+ end
2433
+ end
2434
+
2435
+ module ActiveSupport::Testing::Isolation::Forking
2436
+ def run_in_isolation(&blk); end
2437
+ end
2438
+
2439
+ module ActiveSupport::Testing::Isolation::Subprocess
2440
+ def run_in_isolation(&blk); end
2441
+ end
2442
+
2443
+ ActiveSupport::Testing::Isolation::Subprocess::ORIG_ARGV = T.let(T.unsafe(nil), Array)
2444
+
2445
+ class ActiveSupport::Testing::Parallelization
2446
+ def initialize(worker_count); end
2447
+
2448
+ def <<(work); end
2449
+ def after_fork_hooks; end
2450
+ def run_cleanup_hooks; end
2451
+ def shutdown; end
2452
+ def start; end
2453
+
2454
+ class << self
2455
+ def after_fork_hook(&blk); end
2456
+ def after_fork_hooks; end
2457
+ def run_cleanup_hook(&blk); end
2458
+ def run_cleanup_hooks; end
2459
+ end
2460
+ end
2461
+
2462
+ class ActiveSupport::Testing::Parallelization::Server
2463
+ include ::DRb::DRbUndumped
2464
+
2465
+ def initialize; end
2466
+
2467
+ def <<(o); end
2468
+ def active_workers?; end
2469
+ def pop; end
2470
+ def record(reporter, result); end
2471
+ def shutdown; end
2472
+ def start_worker(worker_id); end
2473
+ def stop_worker(worker_id); end
2474
+ end
2475
+
2476
+ class ActiveSupport::Testing::Parallelization::Worker
2477
+ def initialize(number, url); end
2478
+
2479
+ def after_fork; end
2480
+ def perform_job(job); end
2481
+ def run_cleanup; end
2482
+ def safe_record(reporter, result); end
2483
+ def start; end
2484
+ def work_from_queue; end
2485
+
2486
+ private
2487
+
2488
+ def add_setup_exception(result); end
2489
+ def set_process_title(status); end
2490
+ end
2491
+
2492
+ module ActiveSupport::Testing::SetupAndTeardown
2493
+ def after_teardown; end
2494
+ def before_setup; end
2495
+
2496
+ class << self
2497
+ def prepended(klass); end
2498
+ end
2499
+ end
2500
+
2501
+ module ActiveSupport::Testing::SetupAndTeardown::ClassMethods
2502
+ def setup(*args, &block); end
2503
+ def teardown(*args, &block); end
2504
+ end
2505
+
2506
+ class ActiveSupport::Testing::SimpleStubs
2507
+ def initialize; end
2508
+
2509
+ def stub_object(object, method_name, &block); end
2510
+ def stubbed?; end
2511
+ def stubbing(object, method_name); end
2512
+ def unstub_all!; end
2513
+
2514
+ private
2515
+
2516
+ def unstub_object(stub); end
2517
+ end
2518
+
2519
+ class ActiveSupport::Testing::SimpleStubs::Stub < ::Struct
2520
+ def method_name; end
2521
+ def method_name=(_); end
2522
+ def object; end
2523
+ def object=(_); end
2524
+ def original_method; end
2525
+ def original_method=(_); end
2526
+
2527
+ class << self
2528
+ def [](*_arg0); end
2529
+ def inspect; end
2530
+ def members; end
2531
+ def new(*_arg0); end
2532
+ end
2533
+ end
2534
+
2535
+ module ActiveSupport::Testing::TaggedLogging
2536
+ def before_setup; end
2537
+ def tagged_logger=(_arg0); end
2538
+
2539
+ private
2540
+
2541
+ def tagged_logger; end
2542
+ end
2543
+
2544
+ module ActiveSupport::Testing::TimeHelpers
2545
+ def after_teardown; end
2546
+ def freeze_time(&block); end
2547
+ def travel(duration, &block); end
2548
+ def travel_back; end
2549
+ def travel_to(date_or_time); end
2550
+ def unfreeze_time; end
2551
+
2552
+ private
2553
+
2554
+ def simple_stubs; end
2555
+ end
2556
+
2557
+ class ActiveSupport::TimeWithZone
2558
+ include ::DateAndTime::Compatibility
2559
+ include ::Comparable
2560
+
2561
+ def initialize(utc_time, time_zone, local_time = T.unsafe(nil), period = T.unsafe(nil)); end
2562
+
2563
+ def +(other); end
2564
+ def -(other); end
2565
+ def <=>(other); end
2566
+ def acts_like_time?; end
2567
+ def advance(options); end
2568
+ def after?(_arg0); end
2569
+ def ago(other); end
2570
+ def as_json(options = T.unsafe(nil)); end
2571
+ def before?(_arg0); end
2572
+ def between?(min, max); end
2573
+ def blank?; end
2574
+ def change(options); end
2575
+ def comparable_time; end
2576
+ def day; end
2577
+ def dst?; end
2578
+ def encode_with(coder); end
2579
+ def eql?(other); end
2580
+ def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end
2581
+ def freeze; end
2582
+ def future?; end
2583
+ def getgm; end
2584
+ def getlocal(utc_offset = T.unsafe(nil)); end
2585
+ def getutc; end
2586
+ def gmt?; end
2587
+ def gmt_offset; end
2588
+ def gmtime; end
2589
+ def gmtoff; end
2590
+ def hash; end
2591
+ def hour; end
2592
+ def httpdate; end
2593
+ def in(other); end
2594
+ def in_time_zone(new_zone = T.unsafe(nil)); end
2595
+ def init_with(coder); end
2596
+ def inspect; end
2597
+ def is_a?(klass); end
2598
+ def isdst; end
2599
+ def iso8601(fraction_digits = T.unsafe(nil)); end
2600
+ def kind_of?(klass); end
2601
+ def localtime(utc_offset = T.unsafe(nil)); end
2602
+ def marshal_dump; end
2603
+ def marshal_load(variables); end
2604
+ def mday; end
2605
+ def method_missing(sym, *args, &block); end
2606
+ def min; end
2607
+ def mon; end
2608
+ def month; end
2609
+ def next_day?; end
2610
+ def nsec; end
2611
+ def past?; end
2612
+ def period; end
2613
+ def prev_day?; end
2614
+ def respond_to?(sym, include_priv = T.unsafe(nil)); end
2615
+ def rfc2822; end
2616
+ def rfc3339(fraction_digits = T.unsafe(nil)); end
2617
+ def rfc822; end
2618
+ def sec; end
2619
+ def since(other); end
2620
+ def strftime(format); end
2621
+ def time; end
2622
+ def time_zone; end
2623
+ def to_a; end
2624
+ def to_date; end
2625
+ def to_datetime; end
2626
+ def to_f; end
2627
+ def to_formatted_s(format = T.unsafe(nil)); end
2628
+ def to_i; end
2629
+ def to_r; end
2630
+ def to_s(format = T.unsafe(nil)); end
2631
+ def to_time; end
2632
+ def today?; end
2633
+ def tomorrow?; end
2634
+ def tv_sec; end
2635
+ def usec; end
2636
+ def utc; end
2637
+ def utc?; end
2638
+ def utc_offset; end
2639
+ def wday; end
2640
+ def xmlschema(fraction_digits = T.unsafe(nil)); end
2641
+ def yday; end
2642
+ def year; end
2643
+ def yesterday?; end
2644
+ def zone; end
2645
+
2646
+ private
2647
+
2648
+ def duration_of_variable_length?(obj); end
2649
+ def get_period_and_ensure_valid_local_time(period); end
2650
+ def incorporate_utc_offset(time, offset); end
2651
+ def respond_to_missing?(sym, include_priv); end
2652
+ def transfer_time_values_to_utc_constructor(time); end
2653
+ def wrap_with_time_zone(time); end
2654
+
2655
+ class << self
2656
+ def name; end
2657
+ end
2658
+ end
2659
+
2660
+ ActiveSupport::TimeWithZone::PRECISIONS = T.let(T.unsafe(nil), Hash)
2661
+ ActiveSupport::TimeWithZone::SECONDS_PER_DAY = T.let(T.unsafe(nil), Integer)
2662
+
2663
+ class ActiveSupport::TimeZone
2664
+ include ::Comparable
2665
+
2666
+ def initialize(name, utc_offset = T.unsafe(nil), tzinfo = T.unsafe(nil)); end
2667
+
2668
+ def <=>(zone); end
2669
+ def =~(re); end
2670
+ def at(*args); end
2671
+ def encode_with(coder); end
2672
+ def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end
2673
+ def init_with(coder); end
2674
+ def iso8601(str); end
2675
+ def local(*args); end
2676
+ def local_to_utc(time, dst = T.unsafe(nil)); end
2677
+ def match?(re); end
2678
+ def name; end
2679
+ def now; end
2680
+ def parse(str, now = T.unsafe(nil)); end
2681
+ def period_for_local(time, dst = T.unsafe(nil)); end
2682
+ def period_for_utc(time); end
2683
+ def periods_for_local(time); end
2684
+ def rfc3339(str); end
2685
+ def strptime(str, format, now = T.unsafe(nil)); end
2686
+ def to_s; end
2687
+ def today; end
2688
+ def tomorrow; end
2689
+ def tzinfo; end
2690
+ def utc_offset; end
2691
+ def utc_to_local(time); end
2692
+ def yesterday; end
2693
+
2694
+ private
2695
+
2696
+ def parts_to_time(parts, now); end
2697
+ def time_now; end
2698
+
2699
+ class << self
2700
+ def [](arg); end
2701
+ def all; end
2702
+ def clear; end
2703
+ def country_zones(country_code); end
2704
+ def create(*_arg0); end
2705
+ def find_tzinfo(name); end
2706
+ def new(name); end
2707
+ def seconds_to_utc_offset(seconds, colon = T.unsafe(nil)); end
2708
+ def us_zones; end
2709
+
2710
+ private
2711
+
2712
+ def load_country_zones(code); end
2713
+ def zones_map; end
2714
+ end
2715
+ end
2716
+
2717
+ ActiveSupport::TimeZone::MAPPING = T.let(T.unsafe(nil), Hash)
2718
+ ActiveSupport::TimeZone::UTC_OFFSET_WITHOUT_COLON = T.let(T.unsafe(nil), String)
2719
+ ActiveSupport::TimeZone::UTC_OFFSET_WITH_COLON = T.let(T.unsafe(nil), String)
2720
+
2721
+ module ActiveSupport::ToJsonWithActiveSupportEncoder
2722
+ def to_json(options = T.unsafe(nil)); end
2723
+ end
2724
+
2725
+ module ActiveSupport::Tryable
2726
+ def try(method_name = T.unsafe(nil), *args, &b); end
2727
+ def try!(method_name = T.unsafe(nil), *args, &b); end
2728
+ end
2729
+
2730
+ module ActiveSupport::VERSION; end
2731
+ ActiveSupport::VERSION::MAJOR = T.let(T.unsafe(nil), Integer)
2732
+ ActiveSupport::VERSION::MINOR = T.let(T.unsafe(nil), Integer)
2733
+ ActiveSupport::VERSION::PRE = T.let(T.unsafe(nil), String)
2734
+ ActiveSupport::VERSION::STRING = T.let(T.unsafe(nil), String)
2735
+ ActiveSupport::VERSION::TINY = T.let(T.unsafe(nil), Integer)
2736
+
2737
+ module ActiveSupport::XmlMini
2738
+ extend ::ActiveSupport::XmlMini
2739
+
2740
+ def backend; end
2741
+ def backend=(name); end
2742
+ def depth; end
2743
+ def depth=(_arg0); end
2744
+ def parse(*_arg0, &_arg1); end
2745
+ def rename_key(key, options = T.unsafe(nil)); end
2746
+ def to_tag(key, value, options); end
2747
+ def with_backend(name); end
2748
+
2749
+ private
2750
+
2751
+ def _dasherize(key); end
2752
+ def _parse_binary(bin, entity); end
2753
+ def _parse_file(file, entity); end
2754
+ def cast_backend_name_to_module(name); end
2755
+ def current_thread_backend; end
2756
+ def current_thread_backend=(name); end
2757
+ end
2758
+
2759
+ ActiveSupport::XmlMini::DEFAULT_ENCODINGS = T.let(T.unsafe(nil), Hash)
2760
+ ActiveSupport::XmlMini::FORMATTING = T.let(T.unsafe(nil), Hash)
2761
+
2762
+ module ActiveSupport::XmlMini::FileLike
2763
+ def content_type; end
2764
+ def content_type=(_arg0); end
2765
+ def original_filename; end
2766
+ def original_filename=(_arg0); end
2767
+ end
2768
+
2769
+ ActiveSupport::XmlMini::PARSING = T.let(T.unsafe(nil), Hash)
2770
+ ActiveSupport::XmlMini::TYPE_NAMES = T.let(T.unsafe(nil), Hash)
2771
+
2772
+ module ActiveSupport::XmlMini_REXML
2773
+ extend ::ActiveSupport::XmlMini_REXML
2774
+
2775
+ def parse(data); end
2776
+
2777
+ private
2778
+
2779
+ def collapse(element, depth); end
2780
+ def empty_content?(element); end
2781
+ def get_attributes(element); end
2782
+ def merge!(hash, key, value); end
2783
+ def merge_element!(hash, element, depth); end
2784
+ def merge_texts!(hash, element); end
2785
+ def require_rexml; end
2786
+ end
2787
+
2788
+ ActiveSupport::XmlMini_REXML::CONTENT_KEY = T.let(T.unsafe(nil), String)
2789
+
2790
+ class Array
2791
+ include ::Enumerable
2792
+ include ::JSON::Ext::Generator::GeneratorMethods::Array
2793
+
2794
+ def as_json(options = T.unsafe(nil)); end
2795
+ def compact_blank!; end
2796
+ def deep_dup; end
2797
+ def extract_options!; end
2798
+ def sum(init = T.unsafe(nil), &block); end
2799
+ def to_formatted_s(format = T.unsafe(nil)); end
2800
+ def to_param; end
2801
+ def to_query(key); end
2802
+ def to_s(format = T.unsafe(nil)); end
2803
+ def to_sentence(options = T.unsafe(nil)); end
2804
+ def to_xml(options = T.unsafe(nil)); end
2805
+
2806
+ class << self
2807
+ def wrap(object); end
2808
+ end
2809
+ end
2810
+
2811
+ class BigDecimal < ::Numeric
2812
+ include ::ActiveSupport::BigDecimalWithDefaultFormat
2813
+
2814
+ def as_json(options = T.unsafe(nil)); end
2815
+ end
2816
+
2817
+ BigDecimal::EXCEPTION_NaN = T.let(T.unsafe(nil), Integer)
2818
+ BigDecimal::VERSION = T.let(T.unsafe(nil), String)
2819
+
2820
+ class Class < ::Module
2821
+ def class_attribute(*attrs, instance_accessor: T.unsafe(nil), instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_predicate: T.unsafe(nil), default: T.unsafe(nil)); end
2822
+ end
2823
+
2824
+ class Date
2825
+ include ::Comparable
2826
+ include ::DateAndTime::Zones
2827
+ include ::DateAndTime::Calculations
2828
+
2829
+ def +(other); end
2830
+ def -(other); end
2831
+ def <=>(other); end
2832
+ def acts_like_date?; end
2833
+ def advance(options); end
2834
+ def ago(seconds); end
2835
+ def as_json(options = T.unsafe(nil)); end
2836
+ def at_beginning_of_day; end
2837
+ def at_end_of_day; end
2838
+ def at_midday; end
2839
+ def at_middle_of_day; end
2840
+ def at_midnight; end
2841
+ def at_noon; end
2842
+ def beginning_of_day; end
2843
+ def change(options); end
2844
+ def compare_with_coercion(other); end
2845
+ def end_of_day; end
2846
+ def in(seconds); end
2847
+ def inspect; end
2848
+ def midday; end
2849
+ def middle_of_day; end
2850
+ def midnight; end
2851
+ def minus_with_duration(other); end
2852
+ def noon; end
2853
+ def plus_with_duration(other); end
2854
+ def readable_inspect; end
2855
+ def since(seconds); end
2856
+ def to_formatted_s(format = T.unsafe(nil)); end
2857
+ def to_s(format = T.unsafe(nil)); end
2858
+ def to_time(form = T.unsafe(nil)); end
2859
+ def xmlschema; end
2860
+
2861
+ class << self
2862
+ def beginning_of_week; end
2863
+ def beginning_of_week=(week_start); end
2864
+ def beginning_of_week_default; end
2865
+ def beginning_of_week_default=(_arg0); end
2866
+ def current; end
2867
+ def find_beginning_of_week!(week_start); end
2868
+ def tomorrow; end
2869
+ def yesterday; end
2870
+ end
2871
+ end
2872
+
2873
+ Date::DATE_FORMATS = T.let(T.unsafe(nil), Hash)
2874
+ module DateAndTime; end
2875
+
2876
+ module DateAndTime::Calculations
2877
+ def after?(date_or_time); end
2878
+ def all_day; end
2879
+ def all_month; end
2880
+ def all_quarter; end
2881
+ def all_week(start_day = T.unsafe(nil)); end
2882
+ def all_year; end
2883
+ def at_beginning_of_month; end
2884
+ def at_beginning_of_quarter; end
2885
+ def at_beginning_of_week(start_day = T.unsafe(nil)); end
2886
+ def at_beginning_of_year; end
2887
+ def at_end_of_month; end
2888
+ def at_end_of_quarter; end
2889
+ def at_end_of_week(start_day = T.unsafe(nil)); end
2890
+ def at_end_of_year; end
2891
+ def before?(date_or_time); end
2892
+ def beginning_of_month; end
2893
+ def beginning_of_quarter; end
2894
+ def beginning_of_week(start_day = T.unsafe(nil)); end
2895
+ def beginning_of_year; end
2896
+ def days_ago(days); end
2897
+ def days_since(days); end
2898
+ def days_to_week_start(start_day = T.unsafe(nil)); end
2899
+ def end_of_month; end
2900
+ def end_of_quarter; end
2901
+ def end_of_week(start_day = T.unsafe(nil)); end
2902
+ def end_of_year; end
2903
+ def future?; end
2904
+ def last_month; end
2905
+ def last_quarter; end
2906
+ def last_week(start_day = T.unsafe(nil), same_time: T.unsafe(nil)); end
2907
+ def last_weekday; end
2908
+ def last_year; end
2909
+ def monday; end
2910
+ def months_ago(months); end
2911
+ def months_since(months); end
2912
+ def next_day?; end
2913
+ def next_occurring(day_of_week); end
2914
+ def next_quarter; end
2915
+ def next_week(given_day_in_next_week = T.unsafe(nil), same_time: T.unsafe(nil)); end
2916
+ def next_weekday; end
2917
+ def on_weekday?; end
2918
+ def on_weekend?; end
2919
+ def past?; end
2920
+ def prev_day?; end
2921
+ def prev_occurring(day_of_week); end
2922
+ def prev_quarter; end
2923
+ def prev_week(start_day = T.unsafe(nil), same_time: T.unsafe(nil)); end
2924
+ def prev_weekday; end
2925
+ def sunday; end
2926
+ def today?; end
2927
+ def tomorrow; end
2928
+ def tomorrow?; end
2929
+ def weeks_ago(weeks); end
2930
+ def weeks_since(weeks); end
2931
+ def years_ago(years); end
2932
+ def years_since(years); end
2933
+ def yesterday; end
2934
+ def yesterday?; end
2935
+
2936
+ private
2937
+
2938
+ def copy_time_to(other); end
2939
+ def days_span(day); end
2940
+ def first_hour(date_or_time); end
2941
+ def last_hour(date_or_time); end
2942
+ end
2943
+
2944
+ DateAndTime::Calculations::DAYS_INTO_WEEK = T.let(T.unsafe(nil), Hash)
2945
+ DateAndTime::Calculations::WEEKEND_DAYS = T.let(T.unsafe(nil), Array)
2946
+
2947
+ module DateAndTime::Compatibility
2948
+ def preserve_timezone; end
2949
+ def utc_to_local_returns_utc_offset_times; end
2950
+
2951
+ class << self
2952
+ def preserve_timezone; end
2953
+ def preserve_timezone=(val); end
2954
+ def utc_to_local_returns_utc_offset_times; end
2955
+ def utc_to_local_returns_utc_offset_times=(val); end
2956
+ end
2957
+ end
2958
+
2959
+ module DateAndTime::Zones
2960
+ def in_time_zone(zone = T.unsafe(nil)); end
2961
+
2962
+ private
2963
+
2964
+ def time_with_zone(time, zone); end
2965
+ end
2966
+
2967
+ class DateTime < ::Date
2968
+ def <=>(other); end
2969
+ def advance(options); end
2970
+ def ago(seconds); end
2971
+ def as_json(options = T.unsafe(nil)); end
2972
+ def at_beginning_of_day; end
2973
+ def at_beginning_of_hour; end
2974
+ def at_beginning_of_minute; end
2975
+ def at_end_of_day; end
2976
+ def at_end_of_hour; end
2977
+ def at_end_of_minute; end
2978
+ def at_midday; end
2979
+ def at_middle_of_day; end
2980
+ def at_midnight; end
2981
+ def at_noon; end
2982
+ def beginning_of_day; end
2983
+ def beginning_of_hour; end
2984
+ def beginning_of_minute; end
2985
+ def change(options); end
2986
+ def end_of_day; end
2987
+ def end_of_hour; end
2988
+ def end_of_minute; end
2989
+ def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end
2990
+ def getgm; end
2991
+ def getlocal(utc_offset = T.unsafe(nil)); end
2992
+ def getutc; end
2993
+ def gmtime; end
2994
+ def in(seconds); end
2995
+ def inspect; end
2996
+ def localtime(utc_offset = T.unsafe(nil)); end
2997
+ def midday; end
2998
+ def middle_of_day; end
2999
+ def midnight; end
3000
+ def noon; end
3001
+ def nsec; end
3002
+ def readable_inspect; end
3003
+ def seconds_since_midnight; end
3004
+ def seconds_until_end_of_day; end
3005
+ def since(seconds); end
3006
+ def subsec; end
3007
+ def to_f; end
3008
+ def to_formatted_s(format = T.unsafe(nil)); end
3009
+ def to_i; end
3010
+ def to_s(format = T.unsafe(nil)); end
3011
+ def usec; end
3012
+ def utc; end
3013
+ def utc?; end
3014
+ def utc_offset; end
3015
+
3016
+ private
3017
+
3018
+ def offset_in_seconds; end
3019
+ def seconds_since_unix_epoch; end
3020
+
3021
+ class << self
3022
+ def civil_from_format(utc_or_local, year, month = T.unsafe(nil), day = T.unsafe(nil), hour = T.unsafe(nil), min = T.unsafe(nil), sec = T.unsafe(nil)); end
3023
+ def current; end
3024
+ end
3025
+ end
3026
+
3027
+ module ERB::Util
3028
+ private
3029
+
3030
+ def h(s); end
3031
+ def html_escape(s); end
3032
+ def html_escape_once(s); end
3033
+ def json_escape(s); end
3034
+ def unwrapped_html_escape(s); end
3035
+
3036
+ class << self
3037
+ def h(s); end
3038
+ def html_escape(s); end
3039
+ def html_escape_once(s); end
3040
+ def json_escape(s); end
3041
+ def unwrapped_html_escape(s); end
3042
+ end
3043
+ end
3044
+
3045
+ ERB::Util::HTML_ESCAPE = T.let(T.unsafe(nil), Hash)
3046
+ ERB::Util::HTML_ESCAPE_ONCE_REGEXP = T.let(T.unsafe(nil), Regexp)
3047
+ ERB::Util::JSON_ESCAPE = T.let(T.unsafe(nil), Hash)
3048
+ ERB::Util::JSON_ESCAPE_REGEXP = T.let(T.unsafe(nil), Regexp)
3049
+
3050
+ module Enumerable
3051
+ def as_json(options = T.unsafe(nil)); end
3052
+ def compact_blank; end
3053
+ def exclude?(object); end
3054
+ def excluding(*elements); end
3055
+ def including(*elements); end
3056
+ def index_by; end
3057
+ def index_with(default = T.unsafe(nil)); end
3058
+ def many?; end
3059
+ def pick(*keys); end
3060
+ def pluck(*keys); end
3061
+ def sum(identity = T.unsafe(nil), &block); end
3062
+ def without(*elements); end
3063
+ end
3064
+
3065
+ Enumerable::INDEX_WITH_DEFAULT = T.let(T.unsafe(nil), Object)
3066
+
3067
+ class Exception
3068
+ include ::ActiveSupport::Dependencies::Blamable
3069
+
3070
+ def as_json(options = T.unsafe(nil)); end
3071
+ end
3072
+
3073
+ class FalseClass
3074
+ include ::JSON::Ext::Generator::GeneratorMethods::FalseClass
3075
+
3076
+ def as_json(options = T.unsafe(nil)); end
3077
+ def blank?; end
3078
+ def to_param; end
3079
+ end
3080
+
3081
+ class Float < ::Numeric
3082
+ include ::JSON::Ext::Generator::GeneratorMethods::Float
3083
+
3084
+ def as_json(options = T.unsafe(nil)); end
3085
+ end
3086
+
3087
+ class Hash
3088
+ include ::Enumerable
3089
+ include ::JSON::Ext::Generator::GeneratorMethods::Hash
3090
+
3091
+ def as_json(options = T.unsafe(nil)); end
3092
+ def assert_valid_keys(*valid_keys); end
3093
+ def compact_blank; end
3094
+ def compact_blank!; end
3095
+ def deep_dup; end
3096
+ def deep_merge(other_hash, &block); end
3097
+ def deep_merge!(other_hash, &block); end
3098
+ def deep_stringify_keys; end
3099
+ def deep_stringify_keys!; end
3100
+ def deep_symbolize_keys; end
3101
+ def deep_symbolize_keys!; end
3102
+ def deep_transform_keys(&block); end
3103
+ def deep_transform_keys!(&block); end
3104
+ def except(*keys); end
3105
+ def except!(*keys); end
3106
+ def extract!(*keys); end
3107
+ def extractable_options?; end
3108
+ def slice!(*keys); end
3109
+ def stringify_keys; end
3110
+ def stringify_keys!; end
3111
+ def symbolize_keys; end
3112
+ def symbolize_keys!; end
3113
+ def to_options; end
3114
+ def to_options!; end
3115
+ def to_param(namespace = T.unsafe(nil)); end
3116
+ def to_query(namespace = T.unsafe(nil)); end
3117
+
3118
+ private
3119
+
3120
+ def _deep_transform_keys_in_object(object, &block); end
3121
+ def _deep_transform_keys_in_object!(object, &block); end
3122
+ end
3123
+
3124
+ class IO
3125
+ include ::Enumerable
3126
+ include ::File::Constants
3127
+
3128
+ def as_json(options = T.unsafe(nil)); end
3129
+ end
3130
+
3131
+ class IO::ConsoleMode
3132
+ def echo=(_arg0); end
3133
+ def raw(*_arg0); end
3134
+ def raw!(*_arg0); end
3135
+
3136
+ private
3137
+
3138
+ def initialize_copy(_arg0); end
3139
+ end
3140
+
3141
+ class IO::EAGAINWaitReadable < ::Errno::EAGAIN
3142
+ include ::IO::WaitReadable
3143
+ end
3144
+
3145
+ class IO::EAGAINWaitWritable < ::Errno::EAGAIN
3146
+ include ::IO::WaitWritable
3147
+ end
3148
+
3149
+ class IO::EINPROGRESSWaitReadable < ::Errno::EINPROGRESS
3150
+ include ::IO::WaitReadable
3151
+ end
3152
+
3153
+ class IO::EINPROGRESSWaitWritable < ::Errno::EINPROGRESS
3154
+ include ::IO::WaitWritable
3155
+ end
3156
+
3157
+ IO::EWOULDBLOCKWaitReadable = IO::EAGAINWaitReadable
3158
+ IO::EWOULDBLOCKWaitWritable = IO::EAGAINWaitWritable
3159
+
3160
+ class IPAddr
3161
+ include ::Comparable
3162
+
3163
+ def as_json(options = T.unsafe(nil)); end
3164
+ end
3165
+
3166
+ module Kernel
3167
+ private
3168
+
3169
+ def enable_warnings; end
3170
+ def silence_warnings; end
3171
+ def suppress(*exception_classes); end
3172
+ def with_warnings(flag); end
3173
+
3174
+ class << self
3175
+ def enable_warnings; end
3176
+ def silence_warnings; end
3177
+ def suppress(*exception_classes); end
3178
+ def with_warnings(flag); end
3179
+ end
3180
+ end
3181
+
3182
+ class LoadError < ::ScriptError
3183
+ def is_missing?(location); end
3184
+ end
3185
+
3186
+ class Method
3187
+ include ::MethodSource::SourceLocation::MethodExtensions
3188
+ include ::MethodSource::MethodExtensions
3189
+
3190
+ def duplicable?; end
3191
+ end
3192
+
3193
+ class Module
3194
+ include ::ActiveSupport::Dependencies::ModuleConstMissing
3195
+
3196
+ def alias_attribute(new_name, old_name); end
3197
+ def anonymous?; end
3198
+ def cattr_accessor(*syms, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), &blk); end
3199
+ def cattr_reader(*syms, instance_reader: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end
3200
+ def cattr_writer(*syms, instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end
3201
+ def delegate(*methods, to: T.unsafe(nil), prefix: T.unsafe(nil), allow_nil: T.unsafe(nil), private: T.unsafe(nil)); end
3202
+ def delegate_missing_to(target, allow_nil: T.unsafe(nil)); end
3203
+ def deprecate(*method_names); end
3204
+ def mattr_accessor(*syms, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), &blk); end
3205
+ def mattr_reader(*syms, instance_reader: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end
3206
+ def mattr_writer(*syms, instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end
3207
+ def method_visibility(method); end
3208
+ def module_parent; end
3209
+ def module_parent_name; end
3210
+ def module_parents; end
3211
+ def redefine_method(method, &block); end
3212
+ def redefine_singleton_method(method, &block); end
3213
+ def remove_possible_method(method); end
3214
+ def remove_possible_singleton_method(method); end
3215
+ def silence_redefinition_of_method(method); end
3216
+ end
3217
+
3218
+ Module::DELEGATION_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array)
3219
+ Module::DELEGATION_RESERVED_METHOD_NAMES = T.let(T.unsafe(nil), Set)
3220
+ class Module::DelegationError < ::NoMethodError; end
3221
+ Module::RUBY_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array)
3222
+
3223
+ class NameError < ::StandardError
3224
+ include ::DidYouMean::Correctable
3225
+
3226
+ def missing_name; end
3227
+ def missing_name?(name); end
3228
+
3229
+ private
3230
+
3231
+ def real_mod_name(mod); end
3232
+ end
3233
+
3234
+ NameError::UNBOUND_METHOD_MODULE_NAME = T.let(T.unsafe(nil), UnboundMethod)
3235
+
3236
+ class NilClass
3237
+ include ::JSON::Ext::Generator::GeneratorMethods::NilClass
3238
+
3239
+ def as_json(options = T.unsafe(nil)); end
3240
+ def blank?; end
3241
+ def to_param; end
3242
+ def try(_method_name = T.unsafe(nil), *_arg1); end
3243
+ def try!(_method_name = T.unsafe(nil), *_arg1); end
3244
+ end
3245
+
3246
+ class Numeric
3247
+ include ::Comparable
3248
+
3249
+ def as_json(options = T.unsafe(nil)); end
3250
+ def blank?; end
3251
+ def byte; end
3252
+ def bytes; end
3253
+ def day; end
3254
+ def days; end
3255
+ def exabyte; end
3256
+ def exabytes; end
3257
+ def fortnight; end
3258
+ def fortnights; end
3259
+ def gigabyte; end
3260
+ def gigabytes; end
3261
+ def hour; end
3262
+ def hours; end
3263
+ def html_safe?; end
3264
+ def in_milliseconds; end
3265
+ def kilobyte; end
3266
+ def kilobytes; end
3267
+ def megabyte; end
3268
+ def megabytes; end
3269
+ def minute; end
3270
+ def minutes; end
3271
+ def petabyte; end
3272
+ def petabytes; end
3273
+ def second; end
3274
+ def seconds; end
3275
+ def terabyte; end
3276
+ def terabytes; end
3277
+ def week; end
3278
+ def weeks; end
3279
+ end
3280
+
3281
+ Numeric::EXABYTE = T.let(T.unsafe(nil), Integer)
3282
+ Numeric::GIGABYTE = T.let(T.unsafe(nil), Integer)
3283
+ Numeric::KILOBYTE = T.let(T.unsafe(nil), Integer)
3284
+ Numeric::MEGABYTE = T.let(T.unsafe(nil), Integer)
3285
+ Numeric::PETABYTE = T.let(T.unsafe(nil), Integer)
3286
+ Numeric::TERABYTE = T.let(T.unsafe(nil), Integer)
3287
+
3288
+ class Object < ::BasicObject
3289
+ include ::ActiveSupport::ForkTracker::CoreExt
3290
+ include ::ActiveSupport::ForkTracker::CoreExtPrivate
3291
+ include ::ActiveSupport::ToJsonWithActiveSupportEncoder
3292
+ include ::Kernel
3293
+ include ::JSON::Ext::Generator::GeneratorMethods::Object
3294
+ include ::PP::ObjectMixin
3295
+ include ::ActiveSupport::Tryable
3296
+ include ::ActiveSupport::Dependencies::Loadable
3297
+
3298
+ def acts_like?(duck); end
3299
+ def as_json(options = T.unsafe(nil)); end
3300
+ def blank?; end
3301
+ def deep_dup; end
3302
+ def duplicable?; end
3303
+ def html_safe?; end
3304
+ def instance_values; end
3305
+ def instance_variable_names; end
3306
+ def presence; end
3307
+ def present?; end
3308
+ def to_param; end
3309
+ def to_query(key); end
3310
+ end
3311
+
3312
+ class Pathname
3313
+ def as_json(options = T.unsafe(nil)); end
3314
+ end
3315
+
3316
+ class Process::Status
3317
+ def as_json(options = T.unsafe(nil)); end
3318
+ end
3319
+
3320
+ class Range
3321
+ include ::Enumerable
3322
+
3323
+ def as_json(options = T.unsafe(nil)); end
3324
+ def sum(identity = T.unsafe(nil)); end
3325
+ end
3326
+
3327
+ class Regexp
3328
+ def as_json(options = T.unsafe(nil)); end
3329
+ end
3330
+
3331
+ Regexp::TOKEN_KEYS = T.let(T.unsafe(nil), Array)
3332
+
3333
+ class Regexp::Token < ::Struct
3334
+ def conditional_level; end
3335
+ def conditional_level=(_); end
3336
+ def length; end
3337
+ def level; end
3338
+ def level=(_); end
3339
+ def next; end
3340
+ def next=(_arg0); end
3341
+ def offset; end
3342
+ def previous; end
3343
+ def previous=(_arg0); end
3344
+ def set_level; end
3345
+ def set_level=(_); end
3346
+ def te; end
3347
+ def te=(_); end
3348
+ def text; end
3349
+ def text=(_); end
3350
+ def token; end
3351
+ def token=(_); end
3352
+ def ts; end
3353
+ def ts=(_); end
3354
+ def type; end
3355
+ def type=(_); end
3356
+
3357
+ class << self
3358
+ def [](*_arg0); end
3359
+ def inspect; end
3360
+ def members; end
3361
+ def new(*_arg0); end
3362
+ end
3363
+ end
3364
+
3365
+ class String
3366
+ include ::Comparable
3367
+ include ::JSON::Ext::Generator::GeneratorMethods::String
3368
+ extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
3369
+
3370
+ def acts_like_string?; end
3371
+ def as_json(options = T.unsafe(nil)); end
3372
+ def at(position); end
3373
+ def blank?; end
3374
+ def camelcase(first_letter = T.unsafe(nil)); end
3375
+ def camelize(first_letter = T.unsafe(nil)); end
3376
+ def classify; end
3377
+ def constantize; end
3378
+ def dasherize; end
3379
+ def deconstantize; end
3380
+ def demodulize; end
3381
+ def first(limit = T.unsafe(nil)); end
3382
+ def foreign_key(separate_class_name_and_id_with_underscore = T.unsafe(nil)); end
3383
+ def from(position); end
3384
+ def html_safe; end
3385
+ def humanize(capitalize: T.unsafe(nil), keep_id_suffix: T.unsafe(nil)); end
3386
+ def is_utf8?; end
3387
+ def last(limit = T.unsafe(nil)); end
3388
+ def mb_chars; end
3389
+ def parameterize(separator: T.unsafe(nil), preserve_case: T.unsafe(nil), locale: T.unsafe(nil)); end
3390
+ def pluralize(count = T.unsafe(nil), locale = T.unsafe(nil)); end
3391
+ def remove(*patterns); end
3392
+ def remove!(*patterns); end
3393
+ def safe_constantize; end
3394
+ def singularize(locale = T.unsafe(nil)); end
3395
+ def squish; end
3396
+ def squish!; end
3397
+ def tableize; end
3398
+ def titlecase(keep_id_suffix: T.unsafe(nil)); end
3399
+ def titleize(keep_id_suffix: T.unsafe(nil)); end
3400
+ def to(position); end
3401
+ def to_date; end
3402
+ def to_datetime; end
3403
+ def to_time(form = T.unsafe(nil)); end
3404
+ def truncate(truncate_at, options = T.unsafe(nil)); end
3405
+ def truncate_bytes(truncate_at, omission: T.unsafe(nil)); end
3406
+ def truncate_words(words_count, options = T.unsafe(nil)); end
3407
+ def underscore; end
3408
+ def upcase_first; end
3409
+ end
3410
+
3411
+ String::BLANK_RE = T.let(T.unsafe(nil), Regexp)
3412
+ String::ENCODED_BLANKS = T.let(T.unsafe(nil), Concurrent::Map)
3413
+
3414
+ class Struct
3415
+ include ::Enumerable
3416
+
3417
+ def as_json(options = T.unsafe(nil)); end
3418
+ end
3419
+
3420
+ Struct::CompletionJourneyData = Struct
3421
+ Struct::Group = Etc::Group
3422
+ Struct::Key = Struct
3423
+ Struct::MenuInfo = Struct
3424
+ Struct::Passwd = Etc::Passwd
3425
+ Struct::Tms = Process::Tms
3426
+
3427
+ class Symbol
3428
+ include ::Comparable
3429
+
3430
+ def as_json(options = T.unsafe(nil)); end
3431
+ end
3432
+
3433
+ class Time
3434
+ include ::Comparable
3435
+ include ::DateAndTime::Zones
3436
+ include ::DateAndTime::Calculations
3437
+
3438
+ def +(other); end
3439
+ def -(other); end
3440
+ def <=>(other); end
3441
+ def acts_like_time?; end
3442
+ def advance(options); end
3443
+ def ago(seconds); end
3444
+ def as_json(options = T.unsafe(nil)); end
3445
+ def at_beginning_of_day; end
3446
+ def at_beginning_of_hour; end
3447
+ def at_beginning_of_minute; end
3448
+ def at_end_of_day; end
3449
+ def at_end_of_hour; end
3450
+ def at_end_of_minute; end
3451
+ def at_midday; end
3452
+ def at_middle_of_day; end
3453
+ def at_midnight; end
3454
+ def at_noon; end
3455
+ def beginning_of_day; end
3456
+ def beginning_of_hour; end
3457
+ def beginning_of_minute; end
3458
+ def blank?; end
3459
+ def ceil(precision = T.unsafe(nil)); end
3460
+ def change(options); end
3461
+ def compare_with_coercion(other); end
3462
+ def end_of_day; end
3463
+ def end_of_hour; end
3464
+ def end_of_minute; end
3465
+ def eql?(other); end
3466
+ def eql_with_coercion(other); end
3467
+ def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end
3468
+ def in(seconds); end
3469
+ def midday; end
3470
+ def middle_of_day; end
3471
+ def midnight; end
3472
+ def minus_with_coercion(other); end
3473
+ def minus_with_duration(other); end
3474
+ def minus_without_coercion(other); end
3475
+ def next_day(days = T.unsafe(nil)); end
3476
+ def next_month(months = T.unsafe(nil)); end
3477
+ def next_year(years = T.unsafe(nil)); end
3478
+ def noon; end
3479
+ def plus_with_duration(other); end
3480
+ def prev_day(days = T.unsafe(nil)); end
3481
+ def prev_month(months = T.unsafe(nil)); end
3482
+ def prev_year(years = T.unsafe(nil)); end
3483
+ def sec_fraction; end
3484
+ def seconds_since_midnight; end
3485
+ def seconds_until_end_of_day; end
3486
+ def since(seconds); end
3487
+ def to_formatted_s(format = T.unsafe(nil)); end
3488
+ def to_s(format = T.unsafe(nil)); end
3489
+
3490
+ class << self
3491
+ def ===(other); end
3492
+ def at(*args); end
3493
+ def at_with_coercion(*args); end
3494
+ def current; end
3495
+ def days_in_month(month, year = T.unsafe(nil)); end
3496
+ def days_in_year(year = T.unsafe(nil)); end
3497
+ def find_zone(time_zone); end
3498
+ def find_zone!(time_zone); end
3499
+ def rfc3339(str); end
3500
+ def use_zone(time_zone); end
3501
+ def zone; end
3502
+ def zone=(time_zone); end
3503
+ def zone_default; end
3504
+ def zone_default=(_arg0); end
3505
+ end
3506
+ end
3507
+
3508
+ Time::COMMON_YEAR_DAYS_IN_MONTH = T.let(T.unsafe(nil), Array)
3509
+ Time::DATE_FORMATS = T.let(T.unsafe(nil), Hash)
3510
+
3511
+ class TrueClass
3512
+ include ::JSON::Ext::Generator::GeneratorMethods::TrueClass
3513
+
3514
+ def as_json(options = T.unsafe(nil)); end
3515
+ def blank?; end
3516
+ def to_param; end
3517
+ end
3518
+
3519
+ class URI::Generic
3520
+ include ::URI::RFC2396_REGEXP
3521
+ include ::URI
3522
+
3523
+ def as_json(options = T.unsafe(nil)); end
3524
+ end
3525
+
3526
+ class UnboundMethod
3527
+ include ::MethodSource::SourceLocation::UnboundMethodExtensions
3528
+ include ::MethodSource::MethodExtensions
3529
+
3530
+ def duplicable?; end
3531
+ end