muina 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/main.yml +16 -0
  3. data/.gitignore +5 -0
  4. data/.mutant.yml +38 -0
  5. data/.rspec +4 -0
  6. data/.rubocop.yml +172 -0
  7. data/.ruby-version +1 -0
  8. data/.simplecov +14 -0
  9. data/CHANGELOG.md +38 -0
  10. data/Gemfile +34 -0
  11. data/Gemfile.lock +265 -0
  12. data/Guardfile +24 -0
  13. data/README.md +36 -0
  14. data/Rakefile +13 -0
  15. data/SECURITY.md +14 -0
  16. data/bin/bundle +114 -0
  17. data/bin/console +15 -0
  18. data/bin/flay +29 -0
  19. data/bin/flog +29 -0
  20. data/bin/guard +29 -0
  21. data/bin/irb +29 -0
  22. data/bin/lefthook +29 -0
  23. data/bin/mutant +29 -0
  24. data/bin/parlour +29 -0
  25. data/bin/rake +29 -0
  26. data/bin/rspec +29 -0
  27. data/bin/rubocop +29 -0
  28. data/bin/setup +8 -0
  29. data/bin/srb +29 -0
  30. data/bin/srb-rbi +29 -0
  31. data/bin/tapioca +29 -0
  32. data/exe/muina +11 -0
  33. data/lefthook.yml +39 -0
  34. data/lib/muina/action/params_factory.rb +17 -0
  35. data/lib/muina/action/step/command.rb +31 -0
  36. data/lib/muina/action/step/failure.rb +18 -0
  37. data/lib/muina/action/step/query.rb +31 -0
  38. data/lib/muina/action/step/result.rb +51 -0
  39. data/lib/muina/action/step.rb +13 -0
  40. data/lib/muina/action.rb +73 -0
  41. data/lib/muina/any.rb +7 -0
  42. data/lib/muina/classes.rb +7 -0
  43. data/lib/muina/module.rb +6 -0
  44. data/lib/muina/parameters.rb +7 -0
  45. data/lib/muina/params.rb +19 -0
  46. data/lib/muina/private_creation.rb +12 -0
  47. data/lib/muina/result/factory.rb +37 -0
  48. data/lib/muina/result/failure.rb +31 -0
  49. data/lib/muina/result/null.rb +25 -0
  50. data/lib/muina/result/success.rb +31 -0
  51. data/lib/muina/result.rb +17 -0
  52. data/lib/muina/service.rb +37 -0
  53. data/lib/muina/symbol_hash.rb +7 -0
  54. data/lib/muina/unit.rb +10 -0
  55. data/lib/muina/untyped_array.rb +7 -0
  56. data/lib/muina/untyped_hash.rb +7 -0
  57. data/lib/muina/value.rb +16 -0
  58. data/lib/muina/version.rb +7 -0
  59. data/lib/muina.rb +42 -0
  60. data/muina.gemspec +35 -0
  61. data/rbi/muina.rbi +268 -0
  62. data/sorbet/config +2 -0
  63. data/sorbet/rbi/gems/actionpack@6.1.4.rbi +5045 -0
  64. data/sorbet/rbi/gems/actionview@6.1.4.rbi +2416 -0
  65. data/sorbet/rbi/gems/activesupport@6.1.4.rbi +3778 -0
  66. data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
  67. data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +322 -0
  68. data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
  69. data/sorbet/rbi/gems/byebug@11.1.3.rbi +18 -0
  70. data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
  71. data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
  72. data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
  73. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +2403 -0
  74. data/sorbet/rbi/gems/crass@1.0.6.rbi +123 -0
  75. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +185 -0
  76. data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
  77. data/sorbet/rbi/gems/erubi@1.10.0.rbi +36 -0
  78. data/sorbet/rbi/gems/erubis@2.7.0.rbi +8 -0
  79. data/sorbet/rbi/gems/faker@2.18.0.rbi +2469 -0
  80. data/sorbet/rbi/gems/ffi@1.15.3.rbi +8 -0
  81. data/sorbet/rbi/gems/flay@2.12.1.rbi +178 -0
  82. data/sorbet/rbi/gems/flog@4.6.4.rbi +70 -0
  83. data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
  84. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +49 -0
  85. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +233 -0
  86. data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +66 -0
  87. data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +69 -0
  88. data/sorbet/rbi/gems/guard@2.18.0.rbi +617 -0
  89. data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
  90. data/sorbet/rbi/gems/i18n@1.8.10.rbi +616 -0
  91. data/sorbet/rbi/gems/io-console@0.5.9.rbi +8 -0
  92. data/sorbet/rbi/gems/irb@1.3.6.rbi +452 -0
  93. data/sorbet/rbi/gems/lefthook@0.7.6.rbi +8 -0
  94. data/sorbet/rbi/gems/listen@3.6.0.rbi +476 -0
  95. data/sorbet/rbi/gems/loofah@2.10.0.rbi +223 -0
  96. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +431 -0
  97. data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
  98. data/sorbet/rbi/gems/minitest@5.14.4.rbi +344 -0
  99. data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +8 -0
  100. data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +8 -0
  101. data/sorbet/rbi/gems/mutant@0.10.32.rbi +4154 -0
  102. data/sorbet/rbi/gems/nenv@0.3.0.rbi +88 -0
  103. data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +1422 -0
  104. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +331 -0
  105. data/sorbet/rbi/gems/parallel@1.20.1.rbi +113 -0
  106. data/sorbet/rbi/gems/parlour@6.0.1.rbi +1726 -0
  107. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1683 -0
  108. data/sorbet/rbi/gems/path_expander@1.1.0.rbi +24 -0
  109. data/sorbet/rbi/gems/polyfill@1.9.0.rbi +393 -0
  110. data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
  111. data/sorbet/rbi/gems/racc@1.5.2.rbi +47 -0
  112. data/sorbet/rbi/gems/rack-test@1.1.0.rbi +272 -0
  113. data/sorbet/rbi/gems/rack@2.2.3.rbi +1618 -0
  114. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +92 -0
  115. data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +183 -0
  116. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
  117. data/sorbet/rbi/gems/rake@13.0.6.rbi +808 -0
  118. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  119. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
  120. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
  121. data/sorbet/rbi/gems/reline@0.2.6.rbi +662 -0
  122. data/sorbet/rbi/gems/rexml@3.2.5.rbi +672 -0
  123. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2509 -0
  124. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1574 -0
  125. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
  126. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
  127. data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
  128. data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +2194 -0
  129. data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +899 -0
  130. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +118 -0
  131. data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +1805 -0
  132. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +288 -0
  133. data/sorbet/rbi/gems/rubocop@1.18.4.rbi +13197 -0
  134. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
  135. data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +4528 -0
  136. data/sorbet/rbi/gems/safe_type@1.1.1.rbi +157 -0
  137. data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +359 -0
  138. data/sorbet/rbi/gems/shellany@0.0.1.rbi +28 -0
  139. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  140. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  141. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
  142. data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +42 -0
  143. data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +8 -0
  144. data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +17 -0
  145. data/sorbet/rbi/gems/spoom@1.1.1.rbi +1193 -0
  146. data/sorbet/rbi/gems/tapioca@0.4.23.rbi +1826 -0
  147. data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
  148. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +856 -0
  149. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +26 -0
  150. data/sorbet/rbi/gems/unparser@0.6.0.rbi +2037 -0
  151. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +173 -0
  152. data/sorbet/rbi/todo.rbi +8 -0
  153. data/sorbet/rbi/typed_params.rbi +7 -0
  154. data/sorbet/tapioca/require.rb +16 -0
  155. metadata +269 -0
@@ -0,0 +1,2416 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `actionview` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ module ActionView
8
+ extend ::ActiveSupport::Autoload
9
+
10
+ class << self
11
+ def eager_load!; end
12
+ def gem_version; end
13
+ def version; end
14
+ end
15
+ end
16
+
17
+ class ActionView::AbstractRenderer
18
+ def initialize(lookup_context); end
19
+
20
+ def any_templates?(*args, &block); end
21
+ def formats(*args, &block); end
22
+ def render; end
23
+ def template_exists?(*args, &block); end
24
+
25
+ private
26
+
27
+ def build_rendered_collection(templates, spacer); end
28
+ def build_rendered_template(content, template); end
29
+ def extract_details(options); end
30
+ def prepend_formats(formats); end
31
+ end
32
+
33
+ ActionView::AbstractRenderer::NO_DETAILS = T.let(T.unsafe(nil), Hash)
34
+
35
+ module ActionView::AbstractRenderer::ObjectRendering
36
+ def initialize(lookup_context, options); end
37
+
38
+ private
39
+
40
+ def local_variable(path); end
41
+ def merge_prefix_into_object_path(prefix, object_path); end
42
+ def partial_path(object, view); end
43
+ def raise_invalid_identifier(path); end
44
+ def raise_invalid_option_as(as); end
45
+ end
46
+
47
+ ActionView::AbstractRenderer::ObjectRendering::IDENTIFIER_ERROR_MESSAGE = T.let(T.unsafe(nil), String)
48
+ ActionView::AbstractRenderer::ObjectRendering::OPTION_AS_ERROR_MESSAGE = T.let(T.unsafe(nil), String)
49
+ ActionView::AbstractRenderer::ObjectRendering::PREFIXED_PARTIAL_NAMES = T.let(T.unsafe(nil), Concurrent::Map)
50
+
51
+ class ActionView::AbstractRenderer::RenderedCollection
52
+ def initialize(rendered_templates, spacer); end
53
+
54
+ def body; end
55
+ def format; end
56
+ def rendered_templates; end
57
+
58
+ class << self
59
+ def empty(format); end
60
+ end
61
+ end
62
+
63
+ class ActionView::AbstractRenderer::RenderedCollection::EmptyCollection
64
+ def initialize(format); end
65
+
66
+ def body; end
67
+ def format; end
68
+ end
69
+
70
+ class ActionView::AbstractRenderer::RenderedTemplate
71
+ def initialize(body, template); end
72
+
73
+ def body; end
74
+ def format; end
75
+ def template; end
76
+ end
77
+
78
+ ActionView::AbstractRenderer::RenderedTemplate::EMPTY_SPACER = T.let(T.unsafe(nil), T.untyped)
79
+ class ActionView::ActionViewError < ::StandardError; end
80
+
81
+ class ActionView::Base
82
+ extend ::ActionView::Helpers::SanitizeHelper::ClassMethods
83
+ include ::ERB::Util
84
+ include ::ActionView::Helpers::CaptureHelper
85
+ include ::ActionView::Helpers::ControllerHelper
86
+ include ::ActionView::Helpers::CspHelper
87
+ include ::ActionView::Helpers::CsrfHelper
88
+ include ::ActionView::Helpers::DateHelper
89
+ include ::ActionView::Helpers::OutputSafetyHelper
90
+ include ::ActionView::Helpers::TagHelper
91
+ include ::ActiveSupport::Benchmarkable
92
+ include ::ActionView::Helpers::ActiveModelHelper
93
+ include ::ActionView::Helpers::AssetUrlHelper
94
+ include ::ActionView::Helpers::AssetTagHelper
95
+ include ::ActionView::Helpers::UrlHelper
96
+ include ::ActionView::Helpers::AtomFeedHelper
97
+ include ::ActionView::Helpers::CacheHelper
98
+ include ::ActionView::Helpers::SanitizeHelper
99
+ include ::ActionView::Helpers::DebugHelper
100
+ include ::ActionView::Helpers::TextHelper
101
+ include ::ActionView::Helpers::FormTagHelper
102
+ include ::ActionView::ModelNaming
103
+ include ::ActionView::RecordIdentifier
104
+ include ::ActionView::Helpers::FormHelper
105
+ include ::ActionView::Helpers::TranslationHelper
106
+ include ::ActionView::Helpers::FormOptionsHelper
107
+ include ::ActionView::Helpers::JavaScriptHelper
108
+ include ::ActionView::Helpers::NumberHelper
109
+ include ::ActionView::Helpers::RenderingHelper
110
+ include ::ActionView::Helpers
111
+ include ::AwesomePrint::ActionView
112
+ extend ::ActionView::Helpers::UrlHelper::ClassMethods
113
+ include ::ActionView::Context
114
+
115
+ def initialize(lookup_context, assigns, controller); end
116
+
117
+ def _routes; end
118
+ def _routes=(_arg0); end
119
+ def _routes?; end
120
+ def _run(method, template, locals, buffer, add_to_stack: T.unsafe(nil), &block); end
121
+ def annotate_rendered_view_with_filenames; end
122
+ def annotate_rendered_view_with_filenames=(val); end
123
+ def assign(new_assigns); end
124
+ def assigns; end
125
+ def assigns=(_arg0); end
126
+ def automatically_disable_submit_tag; end
127
+ def automatically_disable_submit_tag=(val); end
128
+ def compiled_method_container; end
129
+ def config; end
130
+ def config=(_arg0); end
131
+ def debug_missing_translation; end
132
+ def debug_missing_translation=(val); end
133
+ def default_formats; end
134
+ def default_formats=(val); end
135
+ def field_error_proc; end
136
+ def field_error_proc=(val); end
137
+ def formats(*args, &block); end
138
+ def formats=(arg); end
139
+ def in_rendering_context(options); end
140
+ def locale(*args, &block); end
141
+ def locale=(arg); end
142
+ def logger; end
143
+ def logger=(_arg0); end
144
+ def logger?; end
145
+ def lookup_context; end
146
+ def prefix_partial_path_with_controller_namespace; end
147
+ def prefix_partial_path_with_controller_namespace=(_arg0); end
148
+ def prefix_partial_path_with_controller_namespace?; end
149
+ def raise_on_missing_translations; end
150
+ def raise_on_missing_translations=(val); end
151
+ def streaming_completion_on_exception; end
152
+ def streaming_completion_on_exception=(val); end
153
+ def view_paths(*args, &block); end
154
+ def view_paths=(arg); end
155
+ def view_renderer; end
156
+
157
+ class << self
158
+ def _routes; end
159
+ def _routes=(value); end
160
+ def _routes?; end
161
+ def annotate_rendered_view_with_filenames; end
162
+ def annotate_rendered_view_with_filenames=(val); end
163
+ def automatically_disable_submit_tag; end
164
+ def automatically_disable_submit_tag=(val); end
165
+ def cache_template_loading; end
166
+ def cache_template_loading=(value); end
167
+ def changed?(other); end
168
+ def debug_missing_translation; end
169
+ def debug_missing_translation=(val); end
170
+ def default_form_builder; end
171
+ def default_form_builder=(val); end
172
+ def default_formats; end
173
+ def default_formats=(val); end
174
+ def empty; end
175
+ def erb_trim_mode=(arg); end
176
+ def field_error_proc; end
177
+ def field_error_proc=(val); end
178
+ def logger; end
179
+ def logger=(value); end
180
+ def logger?; end
181
+ def prefix_partial_path_with_controller_namespace; end
182
+ def prefix_partial_path_with_controller_namespace=(value); end
183
+ def prefix_partial_path_with_controller_namespace?; end
184
+ def raise_on_missing_translations; end
185
+ def raise_on_missing_translations=(val); end
186
+ def streaming_completion_on_exception; end
187
+ def streaming_completion_on_exception=(val); end
188
+ def with_context(context, assigns = T.unsafe(nil), controller = T.unsafe(nil)); end
189
+ def with_empty_template_cache; end
190
+ def with_view_paths(view_paths, assigns = T.unsafe(nil), controller = T.unsafe(nil)); end
191
+ def xss_safe?; end
192
+ end
193
+ end
194
+
195
+ class ActionView::CacheExpiry
196
+ def initialize(watcher:); end
197
+
198
+ def clear_cache; end
199
+ def clear_cache_if_necessary; end
200
+
201
+ private
202
+
203
+ def all_view_paths; end
204
+ def dirs_to_watch; end
205
+ end
206
+
207
+ class ActionView::CacheExpiry::Executor
208
+ def initialize(watcher:); end
209
+
210
+ def before(target); end
211
+ end
212
+
213
+ module ActionView::CollectionCaching
214
+ extend ::ActiveSupport::Concern
215
+
216
+ private
217
+
218
+ def cache_collection_render(instrumentation_payload, view, template, collection); end
219
+ def callable_cache_key?; end
220
+ def collection_by_cache_keys(view, template, collection); end
221
+ def expanded_cache_key(key, view, template, digest_path); end
222
+ def fetch_or_cache_partial(cached_partials, template, order_by:); end
223
+ def will_cache?(options, view); end
224
+ end
225
+
226
+ class ActionView::CollectionRenderer < ::ActionView::PartialRenderer
227
+ include ::ActionView::AbstractRenderer::ObjectRendering
228
+
229
+ def render_collection_derive_partial(collection, context, block); end
230
+ def render_collection_with_partial(collection, partial, context, block); end
231
+
232
+ private
233
+
234
+ def collection_with_template(view, template, layout, collection); end
235
+ def render_collection(collection, view, path, template, layout, block); end
236
+ def retrieve_variable(path); end
237
+ end
238
+
239
+ class ActionView::CollectionRenderer::CollectionIterator
240
+ include ::Enumerable
241
+
242
+ def initialize(collection); end
243
+
244
+ def each(&blk); end
245
+ def length; end
246
+ def size; end
247
+ end
248
+
249
+ class ActionView::CollectionRenderer::MixedCollectionIterator < ::ActionView::CollectionRenderer::CollectionIterator
250
+ def initialize(collection, paths); end
251
+
252
+ def each_with_info; end
253
+ end
254
+
255
+ class ActionView::CollectionRenderer::PreloadCollectionIterator < ::ActionView::CollectionRenderer::SameCollectionIterator
256
+ def initialize(collection, path, variables, relation); end
257
+
258
+ def each_with_info; end
259
+ def from_collection(collection); end
260
+ end
261
+
262
+ class ActionView::CollectionRenderer::SameCollectionIterator < ::ActionView::CollectionRenderer::CollectionIterator
263
+ def initialize(collection, path, variables); end
264
+
265
+ def each_with_info; end
266
+ def from_collection(collection); end
267
+ end
268
+
269
+ module ActionView::Context
270
+ def _layout_for(name = T.unsafe(nil)); end
271
+ def _prepare_context; end
272
+ def output_buffer; end
273
+ def output_buffer=(_arg0); end
274
+ def view_flow; end
275
+ def view_flow=(_arg0); end
276
+ end
277
+
278
+ class ActionView::DependencyTracker
279
+ class << self
280
+ def find_dependencies(name, template, view_paths = T.unsafe(nil)); end
281
+ def register_tracker(extension, tracker); end
282
+ def remove_tracker(handler); end
283
+ end
284
+ end
285
+
286
+ class ActionView::DependencyTracker::ERBTracker
287
+ def initialize(name, template, view_paths = T.unsafe(nil)); end
288
+
289
+ def dependencies; end
290
+
291
+ private
292
+
293
+ def add_dependencies(render_dependencies, arguments, pattern); end
294
+ def add_dynamic_dependency(dependencies, dependency); end
295
+ def add_static_dependency(dependencies, dependency, quote_type); end
296
+ def directory; end
297
+ def explicit_dependencies; end
298
+ def name; end
299
+ def render_dependencies; end
300
+ def resolve_directories(wildcard_dependencies); end
301
+ def source; end
302
+ def template; end
303
+
304
+ class << self
305
+ def call(name, template, view_paths = T.unsafe(nil)); end
306
+ def supports_view_paths?; end
307
+ end
308
+ end
309
+
310
+ ActionView::DependencyTracker::ERBTracker::EXPLICIT_DEPENDENCY = T.let(T.unsafe(nil), Regexp)
311
+ ActionView::DependencyTracker::ERBTracker::IDENTIFIER = T.let(T.unsafe(nil), Regexp)
312
+ ActionView::DependencyTracker::ERBTracker::LAYOUT_DEPENDENCY = T.let(T.unsafe(nil), Regexp)
313
+ ActionView::DependencyTracker::ERBTracker::LAYOUT_HASH_KEY = T.let(T.unsafe(nil), Regexp)
314
+ ActionView::DependencyTracker::ERBTracker::PARTIAL_HASH_KEY = T.let(T.unsafe(nil), Regexp)
315
+ ActionView::DependencyTracker::ERBTracker::RENDER_ARGUMENTS = T.let(T.unsafe(nil), Regexp)
316
+ ActionView::DependencyTracker::ERBTracker::STRING = T.let(T.unsafe(nil), Regexp)
317
+ ActionView::DependencyTracker::ERBTracker::VARIABLE_OR_METHOD_CHAIN = T.let(T.unsafe(nil), Regexp)
318
+
319
+ class ActionView::Digestor
320
+ class << self
321
+ def digest(name:, finder:, format: T.unsafe(nil), dependencies: T.unsafe(nil)); end
322
+ def logger; end
323
+ def tree(name, finder, partial = T.unsafe(nil), seen = T.unsafe(nil)); end
324
+
325
+ private
326
+
327
+ def find_template(finder, name, prefixes, partial, keys); end
328
+ end
329
+ end
330
+
331
+ class ActionView::Digestor::Injected < ::ActionView::Digestor::Node
332
+ def digest(finder, _ = T.unsafe(nil)); end
333
+ end
334
+
335
+ class ActionView::Digestor::Missing < ::ActionView::Digestor::Node
336
+ def digest(finder, _ = T.unsafe(nil)); end
337
+ end
338
+
339
+ class ActionView::Digestor::Node
340
+ def initialize(name, logical_name, template, children = T.unsafe(nil)); end
341
+
342
+ def children; end
343
+ def dependency_digest(finder, stack); end
344
+ def digest(finder, stack = T.unsafe(nil)); end
345
+ def logical_name; end
346
+ def name; end
347
+ def template; end
348
+ def to_dep_map; end
349
+
350
+ class << self
351
+ def create(name, logical_name, template, partial); end
352
+ end
353
+ end
354
+
355
+ class ActionView::Digestor::NullLogger
356
+ class << self
357
+ def debug(_); end
358
+ def error(_); end
359
+ end
360
+ end
361
+
362
+ class ActionView::Digestor::Partial < ::ActionView::Digestor::Node; end
363
+ ActionView::ENCODING_FLAG = T.let(T.unsafe(nil), String)
364
+ class ActionView::EncodingError < ::StandardError; end
365
+
366
+ class ActionView::FallbackFileSystemResolver < ::ActionView::FileSystemResolver
367
+ def build_unbound_template(template, _); end
368
+ def reject_files_external_to_app(files); end
369
+
370
+ class << self
371
+ def instances; end
372
+ end
373
+ end
374
+
375
+ class ActionView::FileSystemResolver < ::ActionView::PathResolver
376
+ def initialize(path); end
377
+
378
+ def ==(resolver); end
379
+ def eql?(resolver); end
380
+ def path; end
381
+ def to_path; end
382
+ def to_s; end
383
+ end
384
+
385
+ module ActionView::Helpers
386
+ include ::ActionView::Helpers::TranslationHelper
387
+ include ::ActionView::Helpers::ActiveModelHelper
388
+ include ::ActionView::Helpers::AssetUrlHelper
389
+ include ::ActionView::Helpers::AtomFeedHelper
390
+ include ::ActionView::Helpers::CacheHelper
391
+ include ::ActionView::Helpers::SanitizeHelper
392
+ include ::ActionView::Helpers::CaptureHelper
393
+ include ::ActionView::Helpers::ControllerHelper
394
+ include ::ActionView::Helpers::CspHelper
395
+ include ::ActionView::Helpers::CsrfHelper
396
+ include ::ActionView::Helpers::DateHelper
397
+ include ::ActionView::Helpers::OutputSafetyHelper
398
+ include ::ActionView::Helpers::TagHelper
399
+ include ::ActionView::Helpers::DebugHelper
400
+ include ::ActionView::Helpers::TextHelper
401
+ include ::ActionView::Helpers::FormOptionsHelper
402
+ include ::ActionView::Helpers::JavaScriptHelper
403
+ include ::ActionView::Helpers::NumberHelper
404
+ include ::ActionView::Helpers::RenderingHelper
405
+ extend ::ActiveSupport::Autoload
406
+ extend ::ActiveSupport::Concern
407
+ include ::ActionView::Helpers::TagHelper
408
+ include ::ActionView::Helpers::AssetTagHelper
409
+ include ::ActionView::Helpers::UrlHelper
410
+ include ::ActionView::Helpers::SanitizeHelper
411
+ include ::ActionView::Helpers::TextHelper
412
+ include ::ActionView::Helpers::FormTagHelper
413
+ include ::ActionView::Helpers::FormHelper
414
+ include ::ActiveSupport::Benchmarkable
415
+
416
+ class << self
417
+ def eager_load!; end
418
+ end
419
+ end
420
+
421
+ module ActionView::Helpers::ActiveModelHelper; end
422
+
423
+ module ActionView::Helpers::ActiveModelInstanceTag
424
+ def content_tag(type, options, *_arg2); end
425
+ def error_message; end
426
+ def error_wrapping(html_tag); end
427
+ def object; end
428
+ def tag(type, options, *_arg2); end
429
+
430
+ private
431
+
432
+ def object_has_errors?; end
433
+ def select_markup_helper?(type); end
434
+ def tag_generate_errors?(options); end
435
+ end
436
+
437
+ module ActionView::Helpers::AssetTagHelper
438
+ include ::ActionView::Helpers::AssetUrlHelper
439
+ extend ::ActiveSupport::Concern
440
+ include ::ActionView::Helpers::TagHelper
441
+
442
+ def audio_tag(*sources); end
443
+ def auto_discovery_link_tag(type = T.unsafe(nil), url_options = T.unsafe(nil), tag_options = T.unsafe(nil)); end
444
+ def favicon_link_tag(source = T.unsafe(nil), options = T.unsafe(nil)); end
445
+ def image_tag(source, options = T.unsafe(nil)); end
446
+ def javascript_include_tag(*sources); end
447
+ def preload_link_tag(source, options = T.unsafe(nil)); end
448
+ def preload_links_header; end
449
+ def preload_links_header=(val); end
450
+ def stylesheet_link_tag(*sources); end
451
+ def video_tag(*sources); end
452
+
453
+ private
454
+
455
+ def check_for_image_tag_errors(options); end
456
+ def extract_dimensions(size); end
457
+ def multiple_sources_tag_builder(type, sources); end
458
+ def resolve_image_source(source, skip_pipeline); end
459
+ def resolve_link_as(extname, mime_type); end
460
+ def send_preload_links_header(preload_links); end
461
+
462
+ class << self
463
+ def preload_links_header; end
464
+ def preload_links_header=(val); end
465
+ end
466
+ end
467
+
468
+ module ActionView::Helpers::AssetUrlHelper
469
+ def asset_path(source, options = T.unsafe(nil)); end
470
+ def asset_url(source, options = T.unsafe(nil)); end
471
+ def audio_path(source, options = T.unsafe(nil)); end
472
+ def audio_url(source, options = T.unsafe(nil)); end
473
+ def compute_asset_extname(source, options = T.unsafe(nil)); end
474
+ def compute_asset_host(source = T.unsafe(nil), options = T.unsafe(nil)); end
475
+ def compute_asset_path(source, options = T.unsafe(nil)); end
476
+ def font_path(source, options = T.unsafe(nil)); end
477
+ def font_url(source, options = T.unsafe(nil)); end
478
+ def image_path(source, options = T.unsafe(nil)); end
479
+ def image_url(source, options = T.unsafe(nil)); end
480
+ def javascript_path(source, options = T.unsafe(nil)); end
481
+ def javascript_url(source, options = T.unsafe(nil)); end
482
+ def path_to_asset(source, options = T.unsafe(nil)); end
483
+ def path_to_audio(source, options = T.unsafe(nil)); end
484
+ def path_to_font(source, options = T.unsafe(nil)); end
485
+ def path_to_image(source, options = T.unsafe(nil)); end
486
+ def path_to_javascript(source, options = T.unsafe(nil)); end
487
+ def path_to_stylesheet(source, options = T.unsafe(nil)); end
488
+ def path_to_video(source, options = T.unsafe(nil)); end
489
+ def public_compute_asset_path(source, options = T.unsafe(nil)); end
490
+ def stylesheet_path(source, options = T.unsafe(nil)); end
491
+ def stylesheet_url(source, options = T.unsafe(nil)); end
492
+ def url_to_asset(source, options = T.unsafe(nil)); end
493
+ def url_to_audio(source, options = T.unsafe(nil)); end
494
+ def url_to_font(source, options = T.unsafe(nil)); end
495
+ def url_to_image(source, options = T.unsafe(nil)); end
496
+ def url_to_javascript(source, options = T.unsafe(nil)); end
497
+ def url_to_stylesheet(source, options = T.unsafe(nil)); end
498
+ def url_to_video(source, options = T.unsafe(nil)); end
499
+ def video_path(source, options = T.unsafe(nil)); end
500
+ def video_url(source, options = T.unsafe(nil)); end
501
+ end
502
+
503
+ ActionView::Helpers::AssetUrlHelper::ASSET_EXTENSIONS = T.let(T.unsafe(nil), Hash)
504
+ ActionView::Helpers::AssetUrlHelper::ASSET_PUBLIC_DIRECTORIES = T.let(T.unsafe(nil), Hash)
505
+ ActionView::Helpers::AssetUrlHelper::URI_REGEXP = T.let(T.unsafe(nil), Regexp)
506
+
507
+ module ActionView::Helpers::AtomFeedHelper
508
+ def atom_feed(options = T.unsafe(nil), &block); end
509
+ end
510
+
511
+ class ActionView::Helpers::AtomFeedHelper::AtomBuilder
512
+ def initialize(xml); end
513
+
514
+ private
515
+
516
+ def method_missing(method, *arguments, &block); end
517
+ def xhtml_block?(method, arguments); end
518
+ end
519
+
520
+ ActionView::Helpers::AtomFeedHelper::AtomBuilder::XHTML_TAG_NAMES = T.let(T.unsafe(nil), Set)
521
+
522
+ class ActionView::Helpers::AtomFeedHelper::AtomFeedBuilder < ::ActionView::Helpers::AtomFeedHelper::AtomBuilder
523
+ def initialize(xml, view, feed_options = T.unsafe(nil)); end
524
+
525
+ def entry(record, options = T.unsafe(nil)); end
526
+ def updated(date_or_time = T.unsafe(nil)); end
527
+ end
528
+
529
+ module ActionView::Helpers::CacheHelper
530
+ def cache(name = T.unsafe(nil), options = T.unsafe(nil), &block); end
531
+ def cache_fragment_name(name = T.unsafe(nil), skip_digest: T.unsafe(nil), digest_path: T.unsafe(nil)); end
532
+ def cache_if(condition, name = T.unsafe(nil), options = T.unsafe(nil), &block); end
533
+ def cache_unless(condition, name = T.unsafe(nil), options = T.unsafe(nil), &block); end
534
+ def digest_path_from_template(template); end
535
+
536
+ private
537
+
538
+ def fragment_for(name = T.unsafe(nil), options = T.unsafe(nil), &block); end
539
+ def fragment_name_with_digest(name, digest_path); end
540
+ def read_fragment_for(name, options); end
541
+ def write_fragment_for(name, options); end
542
+ end
543
+
544
+ module ActionView::Helpers::CaptureHelper
545
+ def capture(*args); end
546
+ def content_for(name, content = T.unsafe(nil), options = T.unsafe(nil), &block); end
547
+ def content_for?(name); end
548
+ def provide(name, content = T.unsafe(nil), &block); end
549
+ def with_output_buffer(buf = T.unsafe(nil)); end
550
+ end
551
+
552
+ module ActionView::Helpers::ControllerHelper
553
+ def action_name(*args, &block); end
554
+ def assign_controller(controller); end
555
+ def controller; end
556
+ def controller=(_arg0); end
557
+ def controller_name(*args, &block); end
558
+ def controller_path(*args, &block); end
559
+ def cookies(*args, &block); end
560
+ def flash(*args, &block); end
561
+ def headers(*args, &block); end
562
+ def logger; end
563
+ def params(*args, &block); end
564
+ def request; end
565
+ def request=(_arg0); end
566
+ def request_forgery_protection_token(*args, &block); end
567
+ def respond_to?(method_name, include_private = T.unsafe(nil)); end
568
+ def response(*args, &block); end
569
+ def session(*args, &block); end
570
+ end
571
+
572
+ ActionView::Helpers::ControllerHelper::CONTROLLER_DELEGATES = T.let(T.unsafe(nil), Array)
573
+
574
+ module ActionView::Helpers::CspHelper
575
+ def csp_meta_tag(**options); end
576
+ end
577
+
578
+ module ActionView::Helpers::CsrfHelper
579
+ def csrf_meta_tag; end
580
+ def csrf_meta_tags; end
581
+ end
582
+
583
+ module ActionView::Helpers::DateHelper
584
+ def date_select(object_name, method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
585
+ def datetime_select(object_name, method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
586
+ def distance_of_time_in_words(from_time, to_time = T.unsafe(nil), options = T.unsafe(nil)); end
587
+ def distance_of_time_in_words_to_now(from_time, options = T.unsafe(nil)); end
588
+ def select_date(date = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end
589
+ def select_datetime(datetime = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end
590
+ def select_day(date, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
591
+ def select_hour(datetime, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
592
+ def select_minute(datetime, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
593
+ def select_month(date, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
594
+ def select_second(datetime, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
595
+ def select_time(datetime = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end
596
+ def select_year(date, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
597
+ def time_ago_in_words(from_time, options = T.unsafe(nil)); end
598
+ def time_select(object_name, method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
599
+ def time_tag(date_or_time, *args, &block); end
600
+
601
+ private
602
+
603
+ def normalize_distance_of_time_argument_to_time(value); end
604
+ end
605
+
606
+ ActionView::Helpers::DateHelper::MINUTES_IN_QUARTER_YEAR = T.let(T.unsafe(nil), Integer)
607
+ ActionView::Helpers::DateHelper::MINUTES_IN_THREE_QUARTERS_YEAR = T.let(T.unsafe(nil), Integer)
608
+ ActionView::Helpers::DateHelper::MINUTES_IN_YEAR = T.let(T.unsafe(nil), Integer)
609
+
610
+ class ActionView::Helpers::DateTimeSelector
611
+ include ::ActionView::Helpers::CaptureHelper
612
+ include ::ActionView::Helpers::OutputSafetyHelper
613
+ include ::ActionView::Helpers::TagHelper
614
+
615
+ def initialize(datetime, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
616
+
617
+ def select_date; end
618
+ def select_datetime; end
619
+ def select_day; end
620
+ def select_hour; end
621
+ def select_minute; end
622
+ def select_month; end
623
+ def select_second; end
624
+ def select_time; end
625
+ def select_year; end
626
+
627
+ private
628
+
629
+ def build_hidden(type, value); end
630
+ def build_options(selected, options = T.unsafe(nil)); end
631
+ def build_options_and_select(type, selected, options = T.unsafe(nil)); end
632
+ def build_select(type, select_options_as_html); end
633
+ def build_selects_from_types(order); end
634
+ def build_year_options(selected, options = T.unsafe(nil)); end
635
+ def css_class_attribute(type, html_options_class, options); end
636
+ def date_order; end
637
+ def day; end
638
+ def hour; end
639
+ def input_id_from_type(type); end
640
+ def input_name_from_type(type); end
641
+ def min; end
642
+ def month; end
643
+ def month_name(number); end
644
+ def month_names; end
645
+ def prompt_option_tag(type, options); end
646
+ def sec; end
647
+ def separator(type); end
648
+ def set_day_if_discarded; end
649
+ def translated_date_order; end
650
+ def translated_month_names; end
651
+ def year; end
652
+ def year_name(number); end
653
+ end
654
+
655
+ ActionView::Helpers::DateTimeSelector::AMPM_TRANSLATION = T.let(T.unsafe(nil), Hash)
656
+ ActionView::Helpers::DateTimeSelector::DEFAULT_PREFIX = T.let(T.unsafe(nil), String)
657
+ ActionView::Helpers::DateTimeSelector::POSITION = T.let(T.unsafe(nil), Hash)
658
+
659
+ module ActionView::Helpers::DebugHelper
660
+ include ::ActionView::Helpers::CaptureHelper
661
+ include ::ActionView::Helpers::OutputSafetyHelper
662
+ include ::ActionView::Helpers::TagHelper
663
+
664
+ def debug(object); end
665
+ end
666
+
667
+ class ActionView::Helpers::FormBuilder
668
+ include ::ActionView::ModelNaming
669
+
670
+ def initialize(object_name, object, template, options); end
671
+
672
+ def button(value = T.unsafe(nil), options = T.unsafe(nil), &block); end
673
+ def check_box(method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end
674
+ def collection_check_boxes(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
675
+ def collection_radio_buttons(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
676
+ def collection_select(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
677
+ def color_field(method, options = T.unsafe(nil)); end
678
+ def date_field(method, options = T.unsafe(nil)); end
679
+ def date_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
680
+ def datetime_field(method, options = T.unsafe(nil)); end
681
+ def datetime_local_field(method, options = T.unsafe(nil)); end
682
+ def datetime_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
683
+ def email_field(method, options = T.unsafe(nil)); end
684
+ def emitted_hidden_id?; end
685
+ def field_helpers; end
686
+ def field_helpers=(_arg0); end
687
+ def field_helpers?; end
688
+ def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
689
+ def fields_for(record_name, record_object = T.unsafe(nil), fields_options = T.unsafe(nil), &block); end
690
+ def file_field(method, options = T.unsafe(nil)); end
691
+ def grouped_collection_select(method, collection, group_method, group_label_method, option_key_method, option_value_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
692
+ def hidden_field(method, options = T.unsafe(nil)); end
693
+ def index; end
694
+ def label(method, text = T.unsafe(nil), options = T.unsafe(nil), &block); end
695
+ def month_field(method, options = T.unsafe(nil)); end
696
+ def multipart; end
697
+ def multipart=(multipart); end
698
+ def multipart?; end
699
+ def number_field(method, options = T.unsafe(nil)); end
700
+ def object; end
701
+ def object=(_arg0); end
702
+ def object_name; end
703
+ def object_name=(_arg0); end
704
+ def options; end
705
+ def options=(_arg0); end
706
+ def password_field(method, options = T.unsafe(nil)); end
707
+ def phone_field(method, options = T.unsafe(nil)); end
708
+ def radio_button(method, tag_value, options = T.unsafe(nil)); end
709
+ def range_field(method, options = T.unsafe(nil)); end
710
+ def search_field(method, options = T.unsafe(nil)); end
711
+ def select(method, choices = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
712
+ def submit(value = T.unsafe(nil), options = T.unsafe(nil)); end
713
+ def telephone_field(method, options = T.unsafe(nil)); end
714
+ def text_area(method, options = T.unsafe(nil)); end
715
+ def text_field(method, options = T.unsafe(nil)); end
716
+ def time_field(method, options = T.unsafe(nil)); end
717
+ def time_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
718
+ def time_zone_select(method, priority_zones = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end
719
+ def to_model; end
720
+ def to_partial_path; end
721
+ def url_field(method, options = T.unsafe(nil)); end
722
+ def week_field(method, options = T.unsafe(nil)); end
723
+
724
+ private
725
+
726
+ def convert_to_legacy_options(options); end
727
+ def fields_for_nested_model(name, object, fields_options, block); end
728
+ def fields_for_with_nested_attributes(association_name, association, options, block); end
729
+ def nested_attributes_association?(association_name); end
730
+ def nested_child_index(name); end
731
+ def objectify_options(options); end
732
+ def submit_default_value; end
733
+
734
+ class << self
735
+ def _to_partial_path; end
736
+ def field_helpers; end
737
+ def field_helpers=(value); end
738
+ def field_helpers?; end
739
+ end
740
+ end
741
+
742
+ module ActionView::Helpers::FormHelper
743
+ include ::ActionView::Helpers::FormTagHelper
744
+ include ::ActionView::RecordIdentifier
745
+ extend ::ActiveSupport::Concern
746
+ include ::ActionView::Helpers::TagHelper
747
+ include ::ActionView::Helpers::UrlHelper
748
+ include ::ActionView::Helpers::SanitizeHelper
749
+ include ::ActionView::Helpers::TextHelper
750
+ include ::ActionView::ModelNaming
751
+
752
+ def check_box(object_name, method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end
753
+ def color_field(object_name, method, options = T.unsafe(nil)); end
754
+ def date_field(object_name, method, options = T.unsafe(nil)); end
755
+ def datetime_field(object_name, method, options = T.unsafe(nil)); end
756
+ def datetime_local_field(object_name, method, options = T.unsafe(nil)); end
757
+ def default_form_builder; end
758
+ def default_form_builder=(_arg0); end
759
+ def email_field(object_name, method, options = T.unsafe(nil)); end
760
+ def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
761
+ def fields_for(record_name, record_object = T.unsafe(nil), options = T.unsafe(nil), &block); end
762
+ def file_field(object_name, method, options = T.unsafe(nil)); end
763
+ def form_for(record, options = T.unsafe(nil), &block); end
764
+ def form_with(model: T.unsafe(nil), scope: T.unsafe(nil), url: T.unsafe(nil), format: T.unsafe(nil), **options, &block); end
765
+ def form_with_generates_ids; end
766
+ def form_with_generates_ids=(val); end
767
+ def form_with_generates_remote_forms; end
768
+ def form_with_generates_remote_forms=(val); end
769
+ def hidden_field(object_name, method, options = T.unsafe(nil)); end
770
+ def label(object_name, method, content_or_options = T.unsafe(nil), options = T.unsafe(nil), &block); end
771
+ def month_field(object_name, method, options = T.unsafe(nil)); end
772
+ def number_field(object_name, method, options = T.unsafe(nil)); end
773
+ def password_field(object_name, method, options = T.unsafe(nil)); end
774
+ def phone_field(object_name, method, options = T.unsafe(nil)); end
775
+ def radio_button(object_name, method, tag_value, options = T.unsafe(nil)); end
776
+ def range_field(object_name, method, options = T.unsafe(nil)); end
777
+ def search_field(object_name, method, options = T.unsafe(nil)); end
778
+ def telephone_field(object_name, method, options = T.unsafe(nil)); end
779
+ def text_area(object_name, method, options = T.unsafe(nil)); end
780
+ def text_field(object_name, method, options = T.unsafe(nil)); end
781
+ def time_field(object_name, method, options = T.unsafe(nil)); end
782
+ def url_field(object_name, method, options = T.unsafe(nil)); end
783
+ def week_field(object_name, method, options = T.unsafe(nil)); end
784
+
785
+ private
786
+
787
+ def apply_form_for_options!(record, object, options); end
788
+ def default_form_builder_class; end
789
+ def html_options_for_form_with(url_for_options = T.unsafe(nil), model = T.unsafe(nil), html: T.unsafe(nil), local: T.unsafe(nil), skip_enforcing_utf8: T.unsafe(nil), **options); end
790
+ def instantiate_builder(record_name, record_object, options); end
791
+
792
+ class << self
793
+ def form_with_generates_ids; end
794
+ def form_with_generates_ids=(val); end
795
+ def form_with_generates_remote_forms; end
796
+ def form_with_generates_remote_forms=(val); end
797
+ end
798
+ end
799
+
800
+ module ActionView::Helpers::FormOptionsHelper
801
+ include ::ActionView::Helpers::SanitizeHelper
802
+ include ::ActionView::Helpers::CaptureHelper
803
+ include ::ActionView::Helpers::OutputSafetyHelper
804
+ include ::ActionView::Helpers::TagHelper
805
+ include ::ActionView::Helpers::TextHelper
806
+ extend ::ActionView::Helpers::SanitizeHelper::ClassMethods
807
+
808
+ def collection_check_boxes(object, method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
809
+ def collection_radio_buttons(object, method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
810
+ def collection_select(object, method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
811
+ def grouped_collection_select(object, method, collection, group_method, group_label_method, option_key_method, option_value_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
812
+ def grouped_options_for_select(grouped_options, selected_key = T.unsafe(nil), options = T.unsafe(nil)); end
813
+ def option_groups_from_collection_for_select(collection, group_method, group_label_method, option_key_method, option_value_method, selected_key = T.unsafe(nil)); end
814
+ def options_for_select(container, selected = T.unsafe(nil)); end
815
+ def options_from_collection_for_select(collection, value_method, text_method, selected = T.unsafe(nil)); end
816
+ def select(object, method, choices = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
817
+ def time_zone_options_for_select(selected = T.unsafe(nil), priority_zones = T.unsafe(nil), model = T.unsafe(nil)); end
818
+ def time_zone_select(object, method, priority_zones = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end
819
+
820
+ private
821
+
822
+ def extract_selected_and_disabled(selected); end
823
+ def extract_values_from_collection(collection, value_method, selected); end
824
+ def option_html_attributes(element); end
825
+ def option_text_and_value(option); end
826
+ def option_value_selected?(value, selected); end
827
+ def prompt_text(prompt); end
828
+ def value_for_collection(item, value); end
829
+ end
830
+
831
+ module ActionView::Helpers::FormTagHelper
832
+ extend ::ActiveSupport::Concern
833
+ include ::ActionView::Helpers::TagHelper
834
+ include ::ActionView::Helpers::UrlHelper
835
+ include ::ActionView::Helpers::SanitizeHelper
836
+ include ::ActionView::Helpers::TextHelper
837
+
838
+ def button_tag(content_or_options = T.unsafe(nil), options = T.unsafe(nil), &block); end
839
+ def check_box_tag(name, value = T.unsafe(nil), checked = T.unsafe(nil), options = T.unsafe(nil)); end
840
+ def color_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
841
+ def date_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
842
+ def datetime_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
843
+ def datetime_local_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
844
+ def default_enforce_utf8; end
845
+ def default_enforce_utf8=(val); end
846
+ def email_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
847
+ def embed_authenticity_token_in_remote_forms; end
848
+ def embed_authenticity_token_in_remote_forms=(val); end
849
+ def field_set_tag(legend = T.unsafe(nil), options = T.unsafe(nil), &block); end
850
+ def file_field_tag(name, options = T.unsafe(nil)); end
851
+ def form_tag(url_for_options = T.unsafe(nil), options = T.unsafe(nil), &block); end
852
+ def hidden_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
853
+ def image_submit_tag(source, options = T.unsafe(nil)); end
854
+ def label_tag(name = T.unsafe(nil), content_or_options = T.unsafe(nil), options = T.unsafe(nil), &block); end
855
+ def month_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
856
+ def number_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
857
+ def password_field_tag(name = T.unsafe(nil), value = T.unsafe(nil), options = T.unsafe(nil)); end
858
+ def phone_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
859
+ def radio_button_tag(name, value, checked = T.unsafe(nil), options = T.unsafe(nil)); end
860
+ def range_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
861
+ def search_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
862
+ def select_tag(name, option_tags = T.unsafe(nil), options = T.unsafe(nil)); end
863
+ def submit_tag(value = T.unsafe(nil), options = T.unsafe(nil)); end
864
+ def telephone_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
865
+ def text_area_tag(name, content = T.unsafe(nil), options = T.unsafe(nil)); end
866
+ def text_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
867
+ def time_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
868
+ def url_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
869
+ def utf8_enforcer_tag; end
870
+ def week_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
871
+
872
+ private
873
+
874
+ def convert_direct_upload_option_to_url(options); end
875
+ def extra_tags_for_form(html_options); end
876
+ def form_tag_html(html_options); end
877
+ def form_tag_with_body(html_options, content); end
878
+ def html_options_for_form(url_for_options, options); end
879
+ def sanitize_to_id(name); end
880
+ def set_default_disable_with(value, tag_options); end
881
+
882
+ class << self
883
+ def default_enforce_utf8; end
884
+ def default_enforce_utf8=(val); end
885
+ def embed_authenticity_token_in_remote_forms; end
886
+ def embed_authenticity_token_in_remote_forms=(val); end
887
+ end
888
+ end
889
+
890
+ module ActionView::Helpers::JavaScriptHelper
891
+ def escape_javascript(javascript); end
892
+ def j(javascript); end
893
+ def javascript_cdata_section(content); end
894
+ def javascript_tag(content_or_options_with_block = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
895
+ end
896
+
897
+ ActionView::Helpers::JavaScriptHelper::JS_ESCAPE_MAP = T.let(T.unsafe(nil), Hash)
898
+
899
+ module ActionView::Helpers::NumberHelper
900
+ def number_to_currency(number, options = T.unsafe(nil)); end
901
+ def number_to_human(number, options = T.unsafe(nil)); end
902
+ def number_to_human_size(number, options = T.unsafe(nil)); end
903
+ def number_to_percentage(number, options = T.unsafe(nil)); end
904
+ def number_to_phone(number, options = T.unsafe(nil)); end
905
+ def number_with_delimiter(number, options = T.unsafe(nil)); end
906
+ def number_with_precision(number, options = T.unsafe(nil)); end
907
+
908
+ private
909
+
910
+ def delegate_number_helper_method(method, number, options); end
911
+ def escape_units(units); end
912
+ def escape_unsafe_options(options); end
913
+ def parse_float(number, raise_error); end
914
+ def valid_float?(number); end
915
+ def wrap_with_output_safety_handling(number, raise_on_invalid, &block); end
916
+ end
917
+
918
+ class ActionView::Helpers::NumberHelper::InvalidNumberError < ::StandardError
919
+ def initialize(number); end
920
+
921
+ def number; end
922
+ def number=(_arg0); end
923
+ end
924
+
925
+ module ActionView::Helpers::OutputSafetyHelper
926
+ def raw(stringish); end
927
+ def safe_join(array, sep = T.unsafe(nil)); end
928
+ def to_sentence(array, options = T.unsafe(nil)); end
929
+ end
930
+
931
+ module ActionView::Helpers::RenderingHelper
932
+ def _layout_for(*args, &block); end
933
+ def render(options = T.unsafe(nil), locals = T.unsafe(nil), &block); end
934
+ end
935
+
936
+ module ActionView::Helpers::SanitizeHelper
937
+ extend ::ActiveSupport::Concern
938
+
939
+ mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods
940
+
941
+ def sanitize(html, options = T.unsafe(nil)); end
942
+ def sanitize_css(style); end
943
+ def strip_links(html); end
944
+ def strip_tags(html); end
945
+ end
946
+
947
+ module ActionView::Helpers::SanitizeHelper::ClassMethods
948
+ def full_sanitizer; end
949
+ def full_sanitizer=(_arg0); end
950
+ def link_sanitizer; end
951
+ def link_sanitizer=(_arg0); end
952
+ def safe_list_sanitizer; end
953
+ def safe_list_sanitizer=(_arg0); end
954
+ def sanitized_allowed_attributes; end
955
+ def sanitized_allowed_attributes=(attributes); end
956
+ def sanitized_allowed_css_keywords; end
957
+ def sanitized_allowed_css_keywords=(_); end
958
+ def sanitized_allowed_css_properties; end
959
+ def sanitized_allowed_css_properties=(_); end
960
+ def sanitized_allowed_protocols; end
961
+ def sanitized_allowed_protocols=(_); end
962
+ def sanitized_allowed_tags; end
963
+ def sanitized_allowed_tags=(tags); end
964
+ def sanitized_bad_tags; end
965
+ def sanitized_bad_tags=(_); end
966
+ def sanitized_protocol_separator; end
967
+ def sanitized_protocol_separator=(_); end
968
+ def sanitized_shorthand_css_properties; end
969
+ def sanitized_shorthand_css_properties=(_); end
970
+ def sanitized_uri_attributes; end
971
+ def sanitized_uri_attributes=(_); end
972
+ def sanitizer_vendor; end
973
+
974
+ private
975
+
976
+ def deprecate_option(name); end
977
+ end
978
+
979
+ module ActionView::Helpers::TagHelper
980
+ include ::ActionView::Helpers::CaptureHelper
981
+ include ::ActionView::Helpers::OutputSafetyHelper
982
+ extend ::ActiveSupport::Concern
983
+
984
+ def cdata_section(content); end
985
+ def class_names(*args); end
986
+ def content_tag(name, content_or_options_with_block = T.unsafe(nil), options = T.unsafe(nil), escape = T.unsafe(nil), &block); end
987
+ def escape_once(html); end
988
+ def tag(name = T.unsafe(nil), options = T.unsafe(nil), open = T.unsafe(nil), escape = T.unsafe(nil)); end
989
+ def token_list(*args); end
990
+
991
+ private
992
+
993
+ def build_tag_values(*args); end
994
+ def tag_builder; end
995
+
996
+ class << self
997
+ def build_tag_values(*args); end
998
+ end
999
+ end
1000
+
1001
+ ActionView::Helpers::TagHelper::ARIA_PREFIXES = T.let(T.unsafe(nil), Set)
1002
+ ActionView::Helpers::TagHelper::BOOLEAN_ATTRIBUTES = T.let(T.unsafe(nil), Set)
1003
+ ActionView::Helpers::TagHelper::DATA_PREFIXES = T.let(T.unsafe(nil), Set)
1004
+ ActionView::Helpers::TagHelper::PRE_CONTENT_STRINGS = T.let(T.unsafe(nil), Hash)
1005
+ ActionView::Helpers::TagHelper::TAG_TYPES = T.let(T.unsafe(nil), Hash)
1006
+
1007
+ class ActionView::Helpers::TagHelper::TagBuilder
1008
+ include ::ActionView::Helpers::CaptureHelper
1009
+ include ::ActionView::Helpers::OutputSafetyHelper
1010
+
1011
+ def initialize(view_context); end
1012
+
1013
+ def boolean_tag_option(key); end
1014
+ def content_tag_string(name, content, options, escape = T.unsafe(nil)); end
1015
+ def p(*arguments, **options, &block); end
1016
+ def tag_option(key, value, escape); end
1017
+ def tag_options(options, escape = T.unsafe(nil)); end
1018
+ def tag_string(name, content = T.unsafe(nil), escape_attributes: T.unsafe(nil), **options, &block); end
1019
+
1020
+ private
1021
+
1022
+ def method_missing(called, *args, **options, &block); end
1023
+ def prefix_tag_option(prefix, key, value, escape); end
1024
+ def respond_to_missing?(*args); end
1025
+ end
1026
+
1027
+ ActionView::Helpers::TagHelper::TagBuilder::VOID_ELEMENTS = T.let(T.unsafe(nil), Set)
1028
+
1029
+ module ActionView::Helpers::Tags
1030
+ extend ::ActiveSupport::Autoload
1031
+ end
1032
+
1033
+ class ActionView::Helpers::Tags::Base
1034
+ extend ::ActionView::Helpers::SanitizeHelper::ClassMethods
1035
+ include ::ActionView::Helpers::OutputSafetyHelper
1036
+ include ::ActionView::Helpers::TagHelper
1037
+ include ::ActionView::Helpers::UrlHelper
1038
+ include ::ActionView::Helpers::SanitizeHelper
1039
+ include ::ActionView::Helpers::TextHelper
1040
+ include ::ActionView::Helpers::FormTagHelper
1041
+ include ::ActionView::Helpers::ActiveModelInstanceTag
1042
+ include ::ActionView::Helpers::FormOptionsHelper
1043
+ extend ::ActionView::Helpers::UrlHelper::ClassMethods
1044
+ include ::ActionView::Helpers::CaptureHelper
1045
+
1046
+ def initialize(object_name, method_name, template_object, options = T.unsafe(nil)); end
1047
+
1048
+ def object; end
1049
+ def render; end
1050
+
1051
+ private
1052
+
1053
+ def add_default_name_and_id(options); end
1054
+ def add_default_name_and_id_for_value(tag_value, options); end
1055
+ def add_options(option_tags, options, value = T.unsafe(nil)); end
1056
+ def generate_ids?; end
1057
+ def name_and_id_index(options); end
1058
+ def placeholder_required?(html_options); end
1059
+ def retrieve_autoindex(pre_match); end
1060
+ def retrieve_object(object); end
1061
+ def sanitized_method_name; end
1062
+ def sanitized_object_name; end
1063
+ def sanitized_value(value); end
1064
+ def select_content_tag(option_tags, options, html_options); end
1065
+ def tag_id(index = T.unsafe(nil)); end
1066
+ def tag_name(multiple = T.unsafe(nil), index = T.unsafe(nil)); end
1067
+ def value; end
1068
+ def value_before_type_cast; end
1069
+ def value_came_from_user?; end
1070
+ end
1071
+
1072
+ class ActionView::Helpers::Tags::CheckBox < ::ActionView::Helpers::Tags::Base
1073
+ include ::ActionView::Helpers::Tags::Checkable
1074
+
1075
+ def initialize(object_name, method_name, template_object, checked_value, unchecked_value, options); end
1076
+
1077
+ def render; end
1078
+
1079
+ private
1080
+
1081
+ def checked?(value); end
1082
+ def hidden_field_for_checkbox(options); end
1083
+ end
1084
+
1085
+ module ActionView::Helpers::Tags::Checkable
1086
+ def input_checked?(options); end
1087
+ end
1088
+
1089
+ class ActionView::Helpers::Tags::CollectionCheckBoxes < ::ActionView::Helpers::Tags::Base
1090
+ include ::ActionView::Helpers::Tags::CollectionHelpers
1091
+
1092
+ def render(&block); end
1093
+
1094
+ private
1095
+
1096
+ def hidden_field_name; end
1097
+ def render_component(builder); end
1098
+ end
1099
+
1100
+ class ActionView::Helpers::Tags::CollectionCheckBoxes::CheckBoxBuilder < ::ActionView::Helpers::Tags::CollectionHelpers::Builder
1101
+ def check_box(extra_html_options = T.unsafe(nil)); end
1102
+ end
1103
+
1104
+ module ActionView::Helpers::Tags::CollectionHelpers
1105
+ def initialize(object_name, method_name, template_object, collection, value_method, text_method, options, html_options); end
1106
+
1107
+ private
1108
+
1109
+ def default_html_options_for_collection(item, value); end
1110
+ def hidden_field; end
1111
+ def hidden_field_name; end
1112
+ def instantiate_builder(builder_class, item, value, text, html_options); end
1113
+ def render_collection; end
1114
+ def render_collection_for(builder_class, &block); end
1115
+ def sanitize_attribute_name(value); end
1116
+ end
1117
+
1118
+ class ActionView::Helpers::Tags::CollectionHelpers::Builder
1119
+ def initialize(template_object, object_name, method_name, object, sanitized_attribute_name, text, value, input_html_options); end
1120
+
1121
+ def label(label_html_options = T.unsafe(nil), &block); end
1122
+ def object; end
1123
+ def text; end
1124
+ def value; end
1125
+ end
1126
+
1127
+ class ActionView::Helpers::Tags::CollectionRadioButtons < ::ActionView::Helpers::Tags::Base
1128
+ include ::ActionView::Helpers::Tags::CollectionHelpers
1129
+
1130
+ def render(&block); end
1131
+
1132
+ private
1133
+
1134
+ def render_component(builder); end
1135
+ end
1136
+
1137
+ class ActionView::Helpers::Tags::CollectionRadioButtons::RadioButtonBuilder < ::ActionView::Helpers::Tags::CollectionHelpers::Builder
1138
+ def radio_button(extra_html_options = T.unsafe(nil)); end
1139
+ end
1140
+
1141
+ class ActionView::Helpers::Tags::CollectionSelect < ::ActionView::Helpers::Tags::Base
1142
+ def initialize(object_name, method_name, template_object, collection, value_method, text_method, options, html_options); end
1143
+
1144
+ def render; end
1145
+ end
1146
+
1147
+ class ActionView::Helpers::Tags::ColorField < ::ActionView::Helpers::Tags::TextField
1148
+ def render; end
1149
+
1150
+ private
1151
+
1152
+ def validate_color_string(string); end
1153
+ end
1154
+
1155
+ class ActionView::Helpers::Tags::DateField < ::ActionView::Helpers::Tags::DatetimeField
1156
+ private
1157
+
1158
+ def format_date(value); end
1159
+ end
1160
+
1161
+ class ActionView::Helpers::Tags::DateSelect < ::ActionView::Helpers::Tags::Base
1162
+ def initialize(object_name, method_name, template_object, options, html_options); end
1163
+
1164
+ def render; end
1165
+
1166
+ private
1167
+
1168
+ def datetime_selector(options, html_options); end
1169
+ def default_datetime(options); end
1170
+ def select_type; end
1171
+
1172
+ class << self
1173
+ def select_type; end
1174
+ end
1175
+ end
1176
+
1177
+ class ActionView::Helpers::Tags::DatetimeField < ::ActionView::Helpers::Tags::TextField
1178
+ def render; end
1179
+
1180
+ private
1181
+
1182
+ def datetime_value(value); end
1183
+ def format_date(value); end
1184
+ end
1185
+
1186
+ class ActionView::Helpers::Tags::DatetimeLocalField < ::ActionView::Helpers::Tags::DatetimeField
1187
+ private
1188
+
1189
+ def format_date(value); end
1190
+
1191
+ class << self
1192
+ def field_type; end
1193
+ end
1194
+ end
1195
+
1196
+ class ActionView::Helpers::Tags::DatetimeSelect < ::ActionView::Helpers::Tags::DateSelect; end
1197
+ class ActionView::Helpers::Tags::EmailField < ::ActionView::Helpers::Tags::TextField; end
1198
+ class ActionView::Helpers::Tags::FileField < ::ActionView::Helpers::Tags::TextField; end
1199
+
1200
+ class ActionView::Helpers::Tags::GroupedCollectionSelect < ::ActionView::Helpers::Tags::Base
1201
+ def initialize(object_name, method_name, template_object, collection, group_method, group_label_method, option_key_method, option_value_method, options, html_options); end
1202
+
1203
+ def render; end
1204
+ end
1205
+
1206
+ class ActionView::Helpers::Tags::HiddenField < ::ActionView::Helpers::Tags::TextField; end
1207
+
1208
+ class ActionView::Helpers::Tags::Label < ::ActionView::Helpers::Tags::Base
1209
+ def initialize(object_name, method_name, template_object, content_or_options = T.unsafe(nil), options = T.unsafe(nil)); end
1210
+
1211
+ def render(&block); end
1212
+
1213
+ private
1214
+
1215
+ def render_component(builder); end
1216
+ end
1217
+
1218
+ class ActionView::Helpers::Tags::Label::LabelBuilder
1219
+ def initialize(template_object, object_name, method_name, object, tag_value); end
1220
+
1221
+ def object; end
1222
+ def to_s; end
1223
+ def translation; end
1224
+ end
1225
+
1226
+ class ActionView::Helpers::Tags::MonthField < ::ActionView::Helpers::Tags::DatetimeField
1227
+ private
1228
+
1229
+ def format_date(value); end
1230
+ end
1231
+
1232
+ class ActionView::Helpers::Tags::NumberField < ::ActionView::Helpers::Tags::TextField
1233
+ def render; end
1234
+ end
1235
+
1236
+ class ActionView::Helpers::Tags::PasswordField < ::ActionView::Helpers::Tags::TextField
1237
+ def render; end
1238
+ end
1239
+
1240
+ module ActionView::Helpers::Tags::Placeholderable
1241
+ def initialize(*_arg0); end
1242
+ end
1243
+
1244
+ class ActionView::Helpers::Tags::RadioButton < ::ActionView::Helpers::Tags::Base
1245
+ include ::ActionView::Helpers::Tags::Checkable
1246
+
1247
+ def initialize(object_name, method_name, template_object, tag_value, options); end
1248
+
1249
+ def render; end
1250
+
1251
+ private
1252
+
1253
+ def checked?(value); end
1254
+ end
1255
+
1256
+ class ActionView::Helpers::Tags::RangeField < ::ActionView::Helpers::Tags::NumberField; end
1257
+
1258
+ class ActionView::Helpers::Tags::SearchField < ::ActionView::Helpers::Tags::TextField
1259
+ def render; end
1260
+ end
1261
+
1262
+ class ActionView::Helpers::Tags::Select < ::ActionView::Helpers::Tags::Base
1263
+ def initialize(object_name, method_name, template_object, choices, options, html_options); end
1264
+
1265
+ def render; end
1266
+
1267
+ private
1268
+
1269
+ def grouped_choices?; end
1270
+ end
1271
+
1272
+ class ActionView::Helpers::Tags::TelField < ::ActionView::Helpers::Tags::TextField; end
1273
+
1274
+ class ActionView::Helpers::Tags::TextArea < ::ActionView::Helpers::Tags::Base
1275
+ include ::ActionView::Helpers::Tags::Placeholderable
1276
+
1277
+ def render; end
1278
+ end
1279
+
1280
+ class ActionView::Helpers::Tags::TextField < ::ActionView::Helpers::Tags::Base
1281
+ include ::ActionView::Helpers::Tags::Placeholderable
1282
+
1283
+ def render; end
1284
+
1285
+ private
1286
+
1287
+ def field_type; end
1288
+
1289
+ class << self
1290
+ def field_type; end
1291
+ end
1292
+ end
1293
+
1294
+ class ActionView::Helpers::Tags::TimeField < ::ActionView::Helpers::Tags::DatetimeField
1295
+ private
1296
+
1297
+ def format_date(value); end
1298
+ end
1299
+
1300
+ class ActionView::Helpers::Tags::TimeSelect < ::ActionView::Helpers::Tags::DateSelect; end
1301
+
1302
+ class ActionView::Helpers::Tags::TimeZoneSelect < ::ActionView::Helpers::Tags::Base
1303
+ def initialize(object_name, method_name, template_object, priority_zones, options, html_options); end
1304
+
1305
+ def render; end
1306
+ end
1307
+
1308
+ class ActionView::Helpers::Tags::Translator
1309
+ def initialize(object, object_name, method_and_value, scope:); end
1310
+
1311
+ def translate; end
1312
+
1313
+ private
1314
+
1315
+ def human_attribute_name; end
1316
+ def i18n_default; end
1317
+ def method_and_value; end
1318
+ def model; end
1319
+ def object_name; end
1320
+ def scope; end
1321
+ end
1322
+
1323
+ class ActionView::Helpers::Tags::UrlField < ::ActionView::Helpers::Tags::TextField; end
1324
+
1325
+ class ActionView::Helpers::Tags::WeekField < ::ActionView::Helpers::Tags::DatetimeField
1326
+ private
1327
+
1328
+ def format_date(value); end
1329
+ end
1330
+
1331
+ module ActionView::Helpers::TextHelper
1332
+ include ::ActionView::Helpers::OutputSafetyHelper
1333
+ extend ::ActiveSupport::Concern
1334
+ include ::ActionView::Helpers::SanitizeHelper
1335
+ include ::ActionView::Helpers::TagHelper
1336
+
1337
+ def concat(string); end
1338
+ def current_cycle(name = T.unsafe(nil)); end
1339
+ def cycle(first_value, *values); end
1340
+ def excerpt(text, phrase, options = T.unsafe(nil)); end
1341
+ def highlight(text, phrases, options = T.unsafe(nil)); end
1342
+ def pluralize(count, singular, plural_arg = T.unsafe(nil), plural: T.unsafe(nil), locale: T.unsafe(nil)); end
1343
+ def reset_cycle(name = T.unsafe(nil)); end
1344
+ def safe_concat(string); end
1345
+ def simple_format(text, html_options = T.unsafe(nil), options = T.unsafe(nil)); end
1346
+ def truncate(text, options = T.unsafe(nil), &block); end
1347
+ def word_wrap(text, line_width: T.unsafe(nil), break_sequence: T.unsafe(nil)); end
1348
+
1349
+ private
1350
+
1351
+ def cut_excerpt_part(part_position, part, separator, options); end
1352
+ def get_cycle(name); end
1353
+ def set_cycle(name, cycle_object); end
1354
+ def split_paragraphs(text); end
1355
+ end
1356
+
1357
+ class ActionView::Helpers::TextHelper::Cycle
1358
+ def initialize(first_value, *values); end
1359
+
1360
+ def current_value; end
1361
+ def reset; end
1362
+ def to_s; end
1363
+ def values; end
1364
+
1365
+ private
1366
+
1367
+ def next_index; end
1368
+ def previous_index; end
1369
+ def step_index(n); end
1370
+ end
1371
+
1372
+ module ActionView::Helpers::TranslationHelper
1373
+ extend ::ActiveSupport::Concern
1374
+ include ::ActionView::Helpers::TagHelper
1375
+
1376
+ def l(object, **options); end
1377
+ def localize(object, **options); end
1378
+ def t(key, **options); end
1379
+ def translate(key, **options); end
1380
+
1381
+ private
1382
+
1383
+ def html_escape_translation_options(options); end
1384
+ def html_safe_translation(translation); end
1385
+ def html_safe_translation_key?(key); end
1386
+ def missing_translation(key, options); end
1387
+ def scope_key_by_partial(key); end
1388
+
1389
+ class << self
1390
+ def i18n_option?(name); end
1391
+ end
1392
+ end
1393
+
1394
+ ActionView::Helpers::TranslationHelper::MISSING_TRANSLATION = T.let(T.unsafe(nil), Object)
1395
+ ActionView::Helpers::TranslationHelper::NO_DEFAULT = T.let(T.unsafe(nil), Array)
1396
+
1397
+ module ActionView::Helpers::UrlHelper
1398
+ extend ::ActiveSupport::Concern
1399
+ include ::ActionView::Helpers::TagHelper
1400
+
1401
+ mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods
1402
+
1403
+ def button_to(name = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
1404
+ def current_page?(options = T.unsafe(nil), check_parameters: T.unsafe(nil), **options_as_kwargs); end
1405
+ def link_to(name = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
1406
+ def link_to_if(condition, name, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
1407
+ def link_to_unless(condition, name, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
1408
+ def link_to_unless_current(name, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
1409
+ def mail_to(email_address, name = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
1410
+ def phone_to(phone_number, name = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
1411
+ def sms_to(phone_number, name = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
1412
+ def url_for(options = T.unsafe(nil)); end
1413
+
1414
+ private
1415
+
1416
+ def _back_url; end
1417
+ def _filtered_referrer; end
1418
+ def add_method_to_attributes!(html_options, method); end
1419
+ def convert_options_to_data_attributes(options, html_options); end
1420
+ def link_to_remote_options?(options); end
1421
+ def method_not_get_method?(method); end
1422
+ def method_tag(method); end
1423
+ def to_form_params(attribute, namespace = T.unsafe(nil)); end
1424
+ def token_tag(token = T.unsafe(nil), form_options: T.unsafe(nil)); end
1425
+ end
1426
+
1427
+ ActionView::Helpers::UrlHelper::BUTTON_TAG_METHOD_VERBS = T.let(T.unsafe(nil), Array)
1428
+
1429
+ module ActionView::Helpers::UrlHelper::ClassMethods
1430
+ def _url_for_modules; end
1431
+ end
1432
+
1433
+ ActionView::Helpers::UrlHelper::STRINGIFIED_COMMON_METHODS = T.let(T.unsafe(nil), Hash)
1434
+
1435
+ class ActionView::I18nProxy < ::I18n::Config
1436
+ def initialize(original_config, lookup_context); end
1437
+
1438
+ def locale; end
1439
+ def locale=(value); end
1440
+ def lookup_context; end
1441
+ def original_config; end
1442
+ end
1443
+
1444
+ module ActionView::Layouts
1445
+ extend ::ActiveSupport::Concern
1446
+ include ::ActionView::ViewPaths
1447
+ include ::ActionView::Rendering
1448
+
1449
+ mixes_in_class_methods ::ActionView::Layouts::ClassMethods
1450
+
1451
+ def initialize(*_arg0); end
1452
+
1453
+ def _layout_conditions(*args, &block); end
1454
+ def _normalize_options(options); end
1455
+ def action_has_layout=(_arg0); end
1456
+ def action_has_layout?; end
1457
+
1458
+ private
1459
+
1460
+ def _conditional_layout?; end
1461
+ def _default_layout(lookup_context, formats, require_layout = T.unsafe(nil)); end
1462
+ def _include_layout?(options); end
1463
+ def _layout(*_arg0); end
1464
+ def _layout_for_option(name); end
1465
+ def _normalize_layout(value); end
1466
+ end
1467
+
1468
+ module ActionView::Layouts::ClassMethods
1469
+ def _write_layout_method; end
1470
+ def inherited(klass); end
1471
+ def layout(layout, conditions = T.unsafe(nil)); end
1472
+
1473
+ private
1474
+
1475
+ def _implied_layout_name; end
1476
+ end
1477
+
1478
+ module ActionView::Layouts::ClassMethods::LayoutConditions
1479
+ private
1480
+
1481
+ def _conditional_layout?; end
1482
+ end
1483
+
1484
+ class ActionView::LogSubscriber < ::ActiveSupport::LogSubscriber
1485
+ def initialize; end
1486
+
1487
+ def logger; end
1488
+ def render_collection(event); end
1489
+ def render_layout(event); end
1490
+ def render_partial(event); end
1491
+ def render_template(event); end
1492
+ def start(name, id, payload); end
1493
+
1494
+ private
1495
+
1496
+ def cache_message(payload); end
1497
+ def from_rails_root(string); end
1498
+ def log_rendering_start(payload, name); end
1499
+ def rails_root; end
1500
+ def render_count(payload); end
1501
+ end
1502
+
1503
+ ActionView::LogSubscriber::EMPTY = T.let(T.unsafe(nil), String)
1504
+ ActionView::LogSubscriber::VIEWS_PATTERN = T.let(T.unsafe(nil), Regexp)
1505
+
1506
+ class ActionView::LookupContext
1507
+ include ::ActionView::LookupContext::Accessors
1508
+ include ::ActionView::LookupContext::DetailsCache
1509
+ include ::ActionView::LookupContext::ViewPaths
1510
+
1511
+ def initialize(view_paths, details = T.unsafe(nil), prefixes = T.unsafe(nil)); end
1512
+
1513
+ def digest_cache; end
1514
+ def fallbacks; end
1515
+ def fallbacks=(val); end
1516
+ def formats=(values); end
1517
+ def locale; end
1518
+ def locale=(value); end
1519
+ def prefixes; end
1520
+ def prefixes=(_arg0); end
1521
+ def registered_details; end
1522
+ def registered_details=(val); end
1523
+ def rendered_format; end
1524
+ def rendered_format=(_arg0); end
1525
+ def with_prepended_formats(formats); end
1526
+
1527
+ private
1528
+
1529
+ def initialize_details(target, details); end
1530
+
1531
+ class << self
1532
+ def fallbacks; end
1533
+ def fallbacks=(val); end
1534
+ def register_detail(name, &block); end
1535
+ def registered_details; end
1536
+ def registered_details=(val); end
1537
+ end
1538
+ end
1539
+
1540
+ module ActionView::LookupContext::Accessors
1541
+ def default_formats; end
1542
+ def default_handlers; end
1543
+ def default_locale; end
1544
+ def default_variants; end
1545
+ def formats; end
1546
+ def formats=(value); end
1547
+ def handlers; end
1548
+ def handlers=(value); end
1549
+ def locale; end
1550
+ def locale=(value); end
1551
+ def variants; end
1552
+ def variants=(value); end
1553
+ end
1554
+
1555
+ ActionView::LookupContext::Accessors::DEFAULT_PROCS = T.let(T.unsafe(nil), Hash)
1556
+
1557
+ module ActionView::LookupContext::DetailsCache
1558
+ def cache; end
1559
+ def cache=(_arg0); end
1560
+ def details_key; end
1561
+ def disable_cache; end
1562
+
1563
+ private
1564
+
1565
+ def _set_detail(key, value); end
1566
+ end
1567
+
1568
+ class ActionView::LookupContext::DetailsKey
1569
+ def eql?(_arg0); end
1570
+
1571
+ class << self
1572
+ def clear; end
1573
+ def details_cache_key(details); end
1574
+ def digest_cache(details); end
1575
+ def digest_caches; end
1576
+ def view_context_class(klass); end
1577
+ end
1578
+ end
1579
+
1580
+ module ActionView::LookupContext::ViewPaths
1581
+ def any?(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil)); end
1582
+ def any_templates?(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil)); end
1583
+ def exists?(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), **options); end
1584
+ def find(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), options = T.unsafe(nil)); end
1585
+ def find_all(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), options = T.unsafe(nil)); end
1586
+ def find_template(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), options = T.unsafe(nil)); end
1587
+ def html_fallback_for_js; end
1588
+ def template_exists?(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), **options); end
1589
+ def view_paths; end
1590
+ def with_fallbacks; end
1591
+
1592
+ private
1593
+
1594
+ def args_for_any(name, prefixes, partial); end
1595
+ def args_for_lookup(name, prefixes, partial, keys, details_options); end
1596
+ def build_view_paths(paths); end
1597
+ def detail_args_for(options); end
1598
+ def detail_args_for_any; end
1599
+ def normalize_name(name, prefixes); end
1600
+ end
1601
+
1602
+ class ActionView::MissingTemplate < ::ActionView::ActionViewError
1603
+ def initialize(paths, path, prefixes, partial, details, *_arg5); end
1604
+
1605
+ def path; end
1606
+ end
1607
+
1608
+ module ActionView::ModelNaming
1609
+ def convert_to_model(object); end
1610
+ def model_name_from_record_or_class(record_or_class); end
1611
+ end
1612
+
1613
+ class ActionView::ObjectRenderer < ::ActionView::PartialRenderer
1614
+ include ::ActionView::AbstractRenderer::ObjectRendering
1615
+
1616
+ def initialize(lookup_context, options); end
1617
+
1618
+ def render_object_derive_partial(object, context, block); end
1619
+ def render_object_with_partial(object, partial, context, block); end
1620
+
1621
+ private
1622
+
1623
+ def render_partial_template(view, locals, template, layout, block); end
1624
+ def template_keys(path); end
1625
+ end
1626
+
1627
+ class ActionView::OptimizedFileSystemResolver < ::ActionView::FileSystemResolver
1628
+ def initialize(path); end
1629
+
1630
+ private
1631
+
1632
+ def build_regex(path, details); end
1633
+ def find_candidate_template_paths(path); end
1634
+ def find_template_paths_from_details(path, details); end
1635
+ end
1636
+
1637
+ class ActionView::OutputBuffer < ::ActiveSupport::SafeBuffer
1638
+ def initialize(*_arg0); end
1639
+
1640
+ def <<(value); end
1641
+ def append=(value); end
1642
+ def safe_append=(value); end
1643
+ def safe_expr_append=(val); end
1644
+ end
1645
+
1646
+ class ActionView::OutputFlow
1647
+ def initialize; end
1648
+
1649
+ def append(key, value); end
1650
+ def append!(key, value); end
1651
+ def content; end
1652
+ def get(key); end
1653
+ def set(key, value); end
1654
+ end
1655
+
1656
+ class ActionView::PartialIteration
1657
+ def initialize(size); end
1658
+
1659
+ def first?; end
1660
+ def index; end
1661
+ def iterate!; end
1662
+ def last?; end
1663
+ def size; end
1664
+ end
1665
+
1666
+ class ActionView::PartialRenderer < ::ActionView::AbstractRenderer
1667
+ include ::ActionView::CollectionCaching
1668
+
1669
+ def initialize(lookup_context, options); end
1670
+
1671
+ def collection_cache; end
1672
+ def collection_cache=(val); end
1673
+ def render(partial, context, block); end
1674
+
1675
+ private
1676
+
1677
+ def find_template(path, locals); end
1678
+ def render_partial_template(view, locals, template, layout, block); end
1679
+ def template_keys(_); end
1680
+
1681
+ class << self
1682
+ def collection_cache; end
1683
+ def collection_cache=(val); end
1684
+ end
1685
+ end
1686
+
1687
+ class ActionView::PathResolver < ::ActionView::Resolver
1688
+ def initialize; end
1689
+
1690
+ def clear_cache; end
1691
+
1692
+ private
1693
+
1694
+ def _find_all(name, prefix, partial, details, key, locals); end
1695
+ def build_query(path, details); end
1696
+ def build_unbound_template(template, virtual_path); end
1697
+ def escape_entry(entry); end
1698
+ def extract_handler_and_format_and_variant(path); end
1699
+ def find_template_paths(query); end
1700
+ def find_template_paths_from_details(path, details); end
1701
+ def inside_path?(path, filename); end
1702
+ def query(path, details, formats, locals, cache:); end
1703
+ def reject_files_external_to_app(files); end
1704
+ def source_for_template(template); end
1705
+ end
1706
+
1707
+ ActionView::PathResolver::DEFAULT_PATTERN = T.let(T.unsafe(nil), String)
1708
+ ActionView::PathResolver::EXTENSIONS = T.let(T.unsafe(nil), Hash)
1709
+
1710
+ class ActionView::PathSet
1711
+ include ::Enumerable
1712
+
1713
+ def initialize(paths = T.unsafe(nil)); end
1714
+
1715
+ def +(array); end
1716
+ def <<(*args); end
1717
+ def [](*args, &block); end
1718
+ def compact; end
1719
+ def concat(*args); end
1720
+ def each(*args, &block); end
1721
+ def exists?(path, prefixes, *args); end
1722
+ def find(*args); end
1723
+ def find_all(path, prefixes = T.unsafe(nil), *args); end
1724
+ def find_all_with_query(query); end
1725
+ def include?(*args, &block); end
1726
+ def insert(*args); end
1727
+ def paths; end
1728
+ def pop(*args, &block); end
1729
+ def push(*args); end
1730
+ def size(*args, &block); end
1731
+ def to_ary; end
1732
+ def unshift(*args); end
1733
+
1734
+ private
1735
+
1736
+ def _find_all(path, prefixes, args); end
1737
+ def initialize_copy(other); end
1738
+ def typecast(paths); end
1739
+ end
1740
+
1741
+ module ActionView::RecordIdentifier
1742
+ include ::ActionView::ModelNaming
1743
+ extend ::ActionView::RecordIdentifier
1744
+ extend ::ActionView::ModelNaming
1745
+
1746
+ def dom_class(record_or_class, prefix = T.unsafe(nil)); end
1747
+ def dom_id(record, prefix = T.unsafe(nil)); end
1748
+
1749
+ private
1750
+
1751
+ def record_key_for_dom_id(record); end
1752
+ end
1753
+
1754
+ ActionView::RecordIdentifier::JOIN = T.let(T.unsafe(nil), String)
1755
+ ActionView::RecordIdentifier::NEW = T.let(T.unsafe(nil), String)
1756
+
1757
+ class ActionView::Renderer
1758
+ def initialize(lookup_context); end
1759
+
1760
+ def cache_hits; end
1761
+ def lookup_context; end
1762
+ def lookup_context=(_arg0); end
1763
+ def render(context, options); end
1764
+ def render_body(context, options); end
1765
+ def render_partial(context, options, &block); end
1766
+ def render_partial_to_object(context, options, &block); end
1767
+ def render_template(context, options); end
1768
+ def render_template_to_object(context, options); end
1769
+ def render_to_object(context, options); end
1770
+
1771
+ private
1772
+
1773
+ def collection_from_object(object); end
1774
+ def collection_from_options(options); end
1775
+ end
1776
+
1777
+ module ActionView::Rendering
1778
+ extend ::ActiveSupport::Concern
1779
+ include ::ActionView::ViewPaths
1780
+
1781
+ mixes_in_class_methods ::ActionView::Rendering::ClassMethods
1782
+
1783
+ def initialize; end
1784
+
1785
+ def process(*_arg0); end
1786
+ def render_to_body(options = T.unsafe(nil)); end
1787
+ def rendered_format; end
1788
+ def view_context; end
1789
+ def view_context_class; end
1790
+ def view_renderer; end
1791
+
1792
+ private
1793
+
1794
+ def _normalize_args(action = T.unsafe(nil), options = T.unsafe(nil)); end
1795
+ def _normalize_options(options); end
1796
+ def _process_format(format); end
1797
+ def _render_template(options); end
1798
+ end
1799
+
1800
+ module ActionView::Rendering::ClassMethods
1801
+ def _helpers; end
1802
+ def _routes; end
1803
+ def build_view_context_class(klass, supports_path, routes, helpers); end
1804
+ def view_context_class; end
1805
+ end
1806
+
1807
+ class ActionView::Resolver
1808
+ def initialize; end
1809
+
1810
+ def caching; end
1811
+ def caching=(val); end
1812
+ def caching?(*args, &block); end
1813
+ def clear_cache; end
1814
+ def find_all(name, prefix = T.unsafe(nil), partial = T.unsafe(nil), details = T.unsafe(nil), key = T.unsafe(nil), locals = T.unsafe(nil)); end
1815
+ def find_all_with_query(query); end
1816
+
1817
+ private
1818
+
1819
+ def _find_all(name, prefix, partial, details, key, locals); end
1820
+ def cached(key, path_info, details, locals); end
1821
+ def find_templates(name, prefix, partial, details, locals = T.unsafe(nil)); end
1822
+
1823
+ class << self
1824
+ def caching; end
1825
+ def caching=(val); end
1826
+ def caching?; end
1827
+ end
1828
+ end
1829
+
1830
+ class ActionView::Resolver::Cache
1831
+ def initialize; end
1832
+
1833
+ def cache(key, name, prefix, partial, locals); end
1834
+ def cache_query(query); end
1835
+ def clear; end
1836
+ def inspect; end
1837
+ def size; end
1838
+
1839
+ private
1840
+
1841
+ def canonical_no_templates(templates); end
1842
+ end
1843
+
1844
+ ActionView::Resolver::Cache::KEY_BLOCK = T.let(T.unsafe(nil), Proc)
1845
+ ActionView::Resolver::Cache::NAME_BLOCK = T.let(T.unsafe(nil), Proc)
1846
+ ActionView::Resolver::Cache::NO_TEMPLATES = T.let(T.unsafe(nil), Array)
1847
+ ActionView::Resolver::Cache::PARTIAL_BLOCK = T.let(T.unsafe(nil), Proc)
1848
+ ActionView::Resolver::Cache::PREFIX_BLOCK = T.let(T.unsafe(nil), Proc)
1849
+
1850
+ class ActionView::Resolver::Cache::SmallCache < ::Concurrent::Map
1851
+ def initialize(options = T.unsafe(nil)); end
1852
+ end
1853
+
1854
+ class ActionView::Resolver::Path
1855
+ def initialize(name, prefix, partial, virtual); end
1856
+
1857
+ def name; end
1858
+ def partial; end
1859
+ def partial?; end
1860
+ def prefix; end
1861
+ def to_s; end
1862
+ def to_str; end
1863
+ def virtual; end
1864
+
1865
+ class << self
1866
+ def build(name, prefix, partial); end
1867
+ end
1868
+ end
1869
+
1870
+ class ActionView::Resolver::PathParser
1871
+ def build_path_regex; end
1872
+ def parse(path); end
1873
+ end
1874
+
1875
+ module ActionView::RoutingUrlFor
1876
+ def url_for(options = T.unsafe(nil)); end
1877
+ def url_options; end
1878
+
1879
+ private
1880
+
1881
+ def _generate_paths_by_default; end
1882
+ def _routes_context; end
1883
+ def ensure_only_path_option(options); end
1884
+ def optimize_routes_generation?; end
1885
+ end
1886
+
1887
+ class ActionView::StreamingBuffer
1888
+ def initialize(block); end
1889
+
1890
+ def <<(value); end
1891
+ def append=(value); end
1892
+ def concat(value); end
1893
+ def html_safe; end
1894
+ def html_safe?; end
1895
+ def safe_append=(value); end
1896
+ def safe_concat(value); end
1897
+ end
1898
+
1899
+ class ActionView::StreamingFlow < ::ActionView::OutputFlow
1900
+ def initialize(view, fiber); end
1901
+
1902
+ def append!(key, value); end
1903
+ def get(key); end
1904
+
1905
+ private
1906
+
1907
+ def inside_fiber?; end
1908
+ end
1909
+
1910
+ class ActionView::StreamingTemplateRenderer < ::ActionView::TemplateRenderer
1911
+ def render_template(view, template, layout_name = T.unsafe(nil), locals = T.unsafe(nil)); end
1912
+
1913
+ private
1914
+
1915
+ def delayed_render(buffer, template, layout, view, locals); end
1916
+ end
1917
+
1918
+ class ActionView::StreamingTemplateRenderer::Body
1919
+ def initialize(&start); end
1920
+
1921
+ def each(&block); end
1922
+
1923
+ private
1924
+
1925
+ def log_error(exception); end
1926
+ end
1927
+
1928
+ class ActionView::SyntaxErrorInTemplate < ::ActionView::Template::Error
1929
+ def initialize(template, offending_code_string); end
1930
+
1931
+ def annotated_source_code; end
1932
+ def message; end
1933
+ end
1934
+
1935
+ class ActionView::Template
1936
+ extend ::ActiveSupport::Autoload
1937
+ extend ::ActionView::Template::Handlers
1938
+
1939
+ def initialize(source, identifier, handler, locals:, format: T.unsafe(nil), variant: T.unsafe(nil), virtual_path: T.unsafe(nil)); end
1940
+
1941
+ def encode!; end
1942
+ def format; end
1943
+ def handler; end
1944
+ def identifier; end
1945
+ def inspect; end
1946
+ def locals; end
1947
+ def marshal_dump; end
1948
+ def marshal_load(array); end
1949
+ def render(view, locals, buffer = T.unsafe(nil), add_to_stack: T.unsafe(nil), &block); end
1950
+ def short_identifier; end
1951
+ def source; end
1952
+ def supports_streaming?; end
1953
+ def type; end
1954
+ def variable; end
1955
+ def variant; end
1956
+ def virtual_path; end
1957
+
1958
+ private
1959
+
1960
+ def compile(mod); end
1961
+ def compile!(view); end
1962
+ def handle_render_error(view, e); end
1963
+ def identifier_method_name; end
1964
+ def instrument(action, &block); end
1965
+ def instrument_payload; end
1966
+ def instrument_render_template(&block); end
1967
+ def locals_code; end
1968
+ def method_name; end
1969
+ end
1970
+
1971
+ class ActionView::Template::Error < ::ActionView::ActionViewError
1972
+ def initialize(template); end
1973
+
1974
+ def annotated_source_code; end
1975
+ def cause; end
1976
+ def file_name; end
1977
+ def line_number; end
1978
+ def source_extract(indentation = T.unsafe(nil)); end
1979
+ def sub_template_message; end
1980
+ def sub_template_of(template_path); end
1981
+
1982
+ private
1983
+
1984
+ def formatted_code_for(source_code, line_counter, indent); end
1985
+ def source_location; end
1986
+ end
1987
+
1988
+ ActionView::Template::Error::SOURCE_CODE_RADIUS = T.let(T.unsafe(nil), Integer)
1989
+
1990
+ class ActionView::Template::HTML
1991
+ def initialize(string, type); end
1992
+
1993
+ def format; end
1994
+ def identifier; end
1995
+ def inspect; end
1996
+ def render(*args); end
1997
+ def to_str; end
1998
+ def type; end
1999
+ end
2000
+
2001
+ module ActionView::Template::Handlers
2002
+ def handler_for_extension(extension); end
2003
+ def register_default_template_handler(extension, klass); end
2004
+ def register_template_handler(*extensions, handler); end
2005
+ def registered_template_handler(extension); end
2006
+ def template_handler_extensions; end
2007
+ def unregister_template_handler(*extensions); end
2008
+
2009
+ class << self
2010
+ def extended(base); end
2011
+ def extensions; end
2012
+ end
2013
+ end
2014
+
2015
+ class ActionView::Template::Handlers::Builder
2016
+ def call(template, source); end
2017
+ def default_format; end
2018
+ def default_format=(_arg0); end
2019
+ def default_format?; end
2020
+
2021
+ private
2022
+
2023
+ def require_engine; end
2024
+
2025
+ class << self
2026
+ def default_format; end
2027
+ def default_format=(value); end
2028
+ def default_format?; end
2029
+ end
2030
+ end
2031
+
2032
+ class ActionView::Template::Handlers::ERB
2033
+ def call(template, source); end
2034
+ def erb_implementation; end
2035
+ def erb_implementation=(_arg0); end
2036
+ def erb_implementation?; end
2037
+ def erb_trim_mode; end
2038
+ def erb_trim_mode=(_arg0); end
2039
+ def erb_trim_mode?; end
2040
+ def escape_ignore_list; end
2041
+ def escape_ignore_list=(_arg0); end
2042
+ def escape_ignore_list?; end
2043
+ def handles_encoding?; end
2044
+ def supports_streaming?; end
2045
+
2046
+ private
2047
+
2048
+ def valid_encoding(string, encoding); end
2049
+
2050
+ class << self
2051
+ def call(template, source); end
2052
+ def erb_implementation; end
2053
+ def erb_implementation=(value); end
2054
+ def erb_implementation?; end
2055
+ def erb_trim_mode; end
2056
+ def erb_trim_mode=(value); end
2057
+ def erb_trim_mode?; end
2058
+ def escape_ignore_list; end
2059
+ def escape_ignore_list=(value); end
2060
+ def escape_ignore_list?; end
2061
+ end
2062
+ end
2063
+
2064
+ ActionView::Template::Handlers::ERB::ENCODING_TAG = T.let(T.unsafe(nil), Regexp)
2065
+
2066
+ class ActionView::Template::Handlers::ERB::Erubi < ::Erubi::Engine
2067
+ def initialize(input, properties = T.unsafe(nil)); end
2068
+
2069
+ def evaluate(action_view_erb_handler_context); end
2070
+
2071
+ private
2072
+
2073
+ def add_code(code); end
2074
+ def add_expression(indicator, code); end
2075
+ def add_postamble(_); end
2076
+ def add_text(text); end
2077
+ def flush_newline_if_pending(src); end
2078
+ end
2079
+
2080
+ ActionView::Template::Handlers::ERB::Erubi::BLOCK_EXPR = T.let(T.unsafe(nil), Regexp)
2081
+
2082
+ class ActionView::Template::Handlers::Html < ::ActionView::Template::Handlers::Raw
2083
+ def call(template, source); end
2084
+ end
2085
+
2086
+ class ActionView::Template::Handlers::Raw
2087
+ def call(template, source); end
2088
+ end
2089
+
2090
+ class ActionView::Template::Inline < ::ActionView::Template
2091
+ def compile(mod); end
2092
+ end
2093
+
2094
+ ActionView::Template::Inline::Finalizer = T.let(T.unsafe(nil), Proc)
2095
+
2096
+ class ActionView::Template::RawFile
2097
+ def initialize(filename); end
2098
+
2099
+ def format; end
2100
+ def format=(_arg0); end
2101
+ def identifier; end
2102
+ def render(*args); end
2103
+ def type; end
2104
+ def type=(_arg0); end
2105
+ end
2106
+
2107
+ class ActionView::Template::Renderable
2108
+ def initialize(renderable); end
2109
+
2110
+ def format; end
2111
+ def identifier; end
2112
+ def render(context, *args); end
2113
+ end
2114
+
2115
+ module ActionView::Template::Sources
2116
+ extend ::ActiveSupport::Autoload
2117
+ end
2118
+
2119
+ class ActionView::Template::Sources::File
2120
+ def initialize(filename); end
2121
+
2122
+ def to_s; end
2123
+ end
2124
+
2125
+ class ActionView::Template::Text
2126
+ def initialize(string); end
2127
+
2128
+ def format; end
2129
+ def identifier; end
2130
+ def inspect; end
2131
+ def render(*args); end
2132
+ def to_str; end
2133
+ def type; end
2134
+ def type=(_arg0); end
2135
+ end
2136
+
2137
+ class ActionView::Template::Types
2138
+ def type_klass; end
2139
+ def type_klass=(val); end
2140
+
2141
+ class << self
2142
+ def [](type); end
2143
+ def delegate_to(klass); end
2144
+ def symbols; end
2145
+ def type_klass; end
2146
+ def type_klass=(val); end
2147
+ end
2148
+ end
2149
+
2150
+ class ActionView::Template::Types::Type
2151
+ def initialize(symbol); end
2152
+
2153
+ def ==(type); end
2154
+ def ref; end
2155
+ def symbol; end
2156
+ def to_s; end
2157
+ def to_str; end
2158
+ def to_sym; end
2159
+
2160
+ class << self
2161
+ def [](type); end
2162
+ end
2163
+ end
2164
+
2165
+ ActionView::Template::Types::Type::SET = T.let(T.unsafe(nil), T.untyped)
2166
+ ActionView::TemplateError = ActionView::Template::Error
2167
+
2168
+ class ActionView::TemplateRenderer < ::ActionView::AbstractRenderer
2169
+ def render(context, options); end
2170
+
2171
+ private
2172
+
2173
+ def determine_template(options); end
2174
+ def find_layout(layout, keys, formats); end
2175
+ def render_template(view, template, layout_name, locals); end
2176
+ def render_with_layout(view, template, path, locals); end
2177
+ def resolve_layout(layout, keys, formats); end
2178
+ end
2179
+
2180
+ class ActionView::TestCase < ::ActiveSupport::TestCase
2181
+ extend ::ActionView::TestCase::Behavior::ClassMethods
2182
+ include ::Rails::Dom::Testing::Assertions::SelectorAssertions::CountDescribable
2183
+ include ::Rails::Dom::Testing::Assertions::SelectorAssertions
2184
+ include ::Rails::Dom::Testing::Assertions
2185
+ include ::ActionDispatch::Assertions::ResponseAssertions
2186
+ include ::ActionDispatch::Assertions::RoutingAssertions
2187
+ include ::ActionDispatch::Assertions
2188
+ include ::AbstractController::Helpers
2189
+ include ::ActionView::Helpers::CaptureHelper
2190
+ include ::ActionView::Helpers::ControllerHelper
2191
+ include ::ActionView::Helpers::CspHelper
2192
+ include ::ActionView::Helpers::CsrfHelper
2193
+ include ::ActionView::Helpers::DateHelper
2194
+ include ::ActionView::Helpers::OutputSafetyHelper
2195
+ include ::ActionView::Helpers::TagHelper
2196
+ include ::ActiveSupport::Benchmarkable
2197
+ include ::ActionView::Helpers::ActiveModelHelper
2198
+ include ::ActionView::Helpers::AssetUrlHelper
2199
+ include ::ActionView::Helpers::AssetTagHelper
2200
+ include ::ActionView::Helpers::UrlHelper
2201
+ include ::ActionView::Helpers::AtomFeedHelper
2202
+ include ::ActionView::Helpers::CacheHelper
2203
+ include ::ActionView::Helpers::SanitizeHelper
2204
+ include ::ActionView::Helpers::DebugHelper
2205
+ include ::ActionView::Helpers::TextHelper
2206
+ include ::ActionView::Helpers::FormTagHelper
2207
+ include ::ActionDispatch::TestProcess::FixtureFile
2208
+ include ::ActionDispatch::TestProcess
2209
+ include ::ActionController::TemplateAssertions
2210
+ include ::ActionView::Context
2211
+ include ::ActionDispatch::Routing::PolymorphicRoutes
2212
+ include ::ActionView::ModelNaming
2213
+ include ::ActionView::RecordIdentifier
2214
+ include ::ActionView::Helpers::FormHelper
2215
+ include ::ActionView::Helpers::TranslationHelper
2216
+ include ::ActionView::Helpers::FormOptionsHelper
2217
+ include ::ActionView::Helpers::JavaScriptHelper
2218
+ include ::ActionView::Helpers::NumberHelper
2219
+ include ::ActionView::Helpers::RenderingHelper
2220
+ include ::ActionView::Helpers
2221
+ include ::ActiveSupport::Testing::ConstantLookup
2222
+ include ::ActionView::RoutingUrlFor
2223
+ include ::ActionView::TestCase::Behavior
2224
+ extend ::AbstractController::Helpers::ClassMethods
2225
+ extend ::ActionView::Helpers::UrlHelper::ClassMethods
2226
+ extend ::ActionView::Helpers::SanitizeHelper::ClassMethods
2227
+ extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods
2228
+ include ::Rails::Dom::Testing::Assertions::DomAssertions
2229
+
2230
+ def _helper_methods; end
2231
+ def _helper_methods=(_arg0); end
2232
+ def _helper_methods?; end
2233
+ def debug_missing_translation; end
2234
+ def debug_missing_translation=(val); end
2235
+
2236
+ class << self
2237
+ def __callbacks; end
2238
+ def _helper_methods; end
2239
+ def _helper_methods=(value); end
2240
+ def _helper_methods?; end
2241
+ def _helpers; end
2242
+ def debug_missing_translation; end
2243
+ def debug_missing_translation=(val); end
2244
+ end
2245
+ end
2246
+
2247
+ module ActionView::TestCase::Behavior
2248
+ include ::ActiveSupport::Testing::ConstantLookup
2249
+ include ::ActionDispatch::TestProcess
2250
+ include ::ActionController::TemplateAssertions
2251
+ include ::ActionView::Context
2252
+ include ::ActionDispatch::Routing::PolymorphicRoutes
2253
+ include ::ActionView::ModelNaming
2254
+ include ::ActionView::RecordIdentifier
2255
+ include ::ActionView::RoutingUrlFor
2256
+ extend ::ActiveSupport::Concern
2257
+ include ::Rails::Dom::Testing::Assertions
2258
+ include ::ActionDispatch::Assertions
2259
+ include ::AbstractController::Helpers
2260
+ include ::ActionView::Helpers::TagHelper
2261
+ include ::ActionView::Helpers::AssetTagHelper
2262
+ include ::ActionView::Helpers::UrlHelper
2263
+ include ::ActionView::Helpers::SanitizeHelper
2264
+ include ::ActionView::Helpers::TextHelper
2265
+ include ::ActionView::Helpers::FormTagHelper
2266
+ include ::ActionView::Helpers::FormHelper
2267
+ include ::ActionView::Helpers::TranslationHelper
2268
+ include ::ActionView::Helpers
2269
+ include ::ActionDispatch::TestProcess::FixtureFile
2270
+
2271
+ mixes_in_class_methods ::ActionView::TestCase::Behavior::ClassMethods
2272
+
2273
+ def _routes; end
2274
+ def config; end
2275
+ def controller; end
2276
+ def controller=(_arg0); end
2277
+ def lookup_context(*args, &block); end
2278
+ def output_buffer; end
2279
+ def output_buffer=(_arg0); end
2280
+ def render(options = T.unsafe(nil), local_assigns = T.unsafe(nil), &block); end
2281
+ def rendered; end
2282
+ def rendered=(_arg0); end
2283
+ def rendered_views; end
2284
+ def setup_with_controller; end
2285
+
2286
+ private
2287
+
2288
+ def _user_defined_ivars; end
2289
+ def _view; end
2290
+ def document_root_element; end
2291
+ def method_missing(selector, *args); end
2292
+ def respond_to_missing?(name, include_private = T.unsafe(nil)); end
2293
+ def view; end
2294
+ def view_assigns; end
2295
+ end
2296
+
2297
+ module ActionView::TestCase::Behavior::ClassMethods
2298
+ def determine_default_helper_class(name); end
2299
+ def helper_class; end
2300
+ def helper_class=(_arg0); end
2301
+ def helper_method(*methods); end
2302
+ def new(*_arg0); end
2303
+ def tests(helper_class); end
2304
+
2305
+ private
2306
+
2307
+ def include_helper_modules!; end
2308
+ end
2309
+
2310
+ ActionView::TestCase::Behavior::INTERNAL_IVARS = T.let(T.unsafe(nil), Array)
2311
+
2312
+ module ActionView::TestCase::Behavior::Locals
2313
+ def render(options = T.unsafe(nil), local_assigns = T.unsafe(nil)); end
2314
+ def rendered_views; end
2315
+ def rendered_views=(_arg0); end
2316
+ end
2317
+
2318
+ class ActionView::TestCase::Behavior::RenderedViewsCollection
2319
+ def initialize; end
2320
+
2321
+ def add(view, locals); end
2322
+ def locals_for(view); end
2323
+ def rendered_views; end
2324
+ def view_rendered?(view, expected_locals); end
2325
+ end
2326
+
2327
+ module ActionView::TestCase::HelperMethods
2328
+ def _test_case; end
2329
+ def protect_against_forgery?; end
2330
+ end
2331
+
2332
+ class ActionView::TestCase::TestController < ::ActionController::Base
2333
+ include ::ActionDispatch::TestProcess::FixtureFile
2334
+ include ::ActionDispatch::TestProcess
2335
+
2336
+ def initialize; end
2337
+
2338
+ def controller_path=(path); end
2339
+ def params; end
2340
+ def params=(_arg0); end
2341
+ def request; end
2342
+ def request=(_arg0); end
2343
+ def response; end
2344
+ def response=(_arg0); end
2345
+
2346
+ private
2347
+
2348
+ def _layout(lookup_context, formats); end
2349
+
2350
+ class << self
2351
+ def controller_path; end
2352
+ def controller_path=(_arg0); end
2353
+ def middleware_stack; end
2354
+ end
2355
+ end
2356
+
2357
+ class ActionView::UnboundTemplate
2358
+ def initialize(source, identifier, handler, options); end
2359
+
2360
+ def bind_locals(locals); end
2361
+
2362
+ private
2363
+
2364
+ def build_template(locals); end
2365
+ end
2366
+
2367
+ module ActionView::VERSION; end
2368
+ ActionView::VERSION::MAJOR = T.let(T.unsafe(nil), Integer)
2369
+ ActionView::VERSION::MINOR = T.let(T.unsafe(nil), Integer)
2370
+ ActionView::VERSION::STRING = T.let(T.unsafe(nil), String)
2371
+ ActionView::VERSION::TINY = T.let(T.unsafe(nil), Integer)
2372
+
2373
+ module ActionView::ViewPaths
2374
+ extend ::ActiveSupport::Concern
2375
+
2376
+ mixes_in_class_methods ::ActionView::ViewPaths::ClassMethods
2377
+
2378
+ def _prefixes; end
2379
+ def any_templates?(*args, &block); end
2380
+ def append_view_path(path); end
2381
+ def details_for_lookup; end
2382
+ def formats(*args, &block); end
2383
+ def formats=(arg); end
2384
+ def locale(*args, &block); end
2385
+ def locale=(arg); end
2386
+ def lookup_context; end
2387
+ def prepend_view_path(path); end
2388
+ def template_exists?(*args, &block); end
2389
+ def view_paths(*args, &block); end
2390
+
2391
+ class << self
2392
+ def all_view_paths; end
2393
+ def get_view_paths(klass); end
2394
+ def set_view_paths(klass, paths); end
2395
+ end
2396
+ end
2397
+
2398
+ module ActionView::ViewPaths::ClassMethods
2399
+ def _prefixes; end
2400
+ def _view_paths; end
2401
+ def _view_paths=(paths); end
2402
+ def append_view_path(path); end
2403
+ def prepend_view_path(path); end
2404
+ def view_paths; end
2405
+ def view_paths=(paths); end
2406
+
2407
+ private
2408
+
2409
+ def local_prefixes; end
2410
+ end
2411
+
2412
+ class ActionView::WrongEncodingError < ::ActionView::EncodingError
2413
+ def initialize(string, encoding); end
2414
+
2415
+ def message; end
2416
+ end