muina 0.2.8 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +25 -0
  3. data/README.md +0 -35
  4. data/lib/muina/maybe/none.rb +61 -0
  5. data/lib/muina/maybe/some.rb +62 -0
  6. data/lib/muina/maybe.rb +13 -0
  7. data/lib/muina/result/failure.rb +7 -18
  8. data/lib/muina/result/success.rb +7 -18
  9. data/lib/muina/result.rb +6 -8
  10. data/lib/muina/version.rb +1 -2
  11. data/lib/muina.rb +0 -32
  12. metadata +24 -225
  13. data/.github/workflows/main.yml +0 -16
  14. data/.gitignore +0 -5
  15. data/.mutant.yml +0 -38
  16. data/.rspec +0 -4
  17. data/.rubocop.yml +0 -181
  18. data/.ruby-version +0 -1
  19. data/.simplecov +0 -14
  20. data/CHANGELOG.md +0 -38
  21. data/Gemfile +0 -34
  22. data/Gemfile.lock +0 -265
  23. data/Guardfile +0 -24
  24. data/Rakefile +0 -13
  25. data/SECURITY.md +0 -14
  26. data/bin/bundle +0 -114
  27. data/bin/console +0 -15
  28. data/bin/flay +0 -29
  29. data/bin/flog +0 -29
  30. data/bin/guard +0 -29
  31. data/bin/irb +0 -29
  32. data/bin/lefthook +0 -29
  33. data/bin/mutant +0 -29
  34. data/bin/parlour +0 -29
  35. data/bin/rake +0 -29
  36. data/bin/rspec +0 -29
  37. data/bin/rubocop +0 -29
  38. data/bin/setup +0 -8
  39. data/bin/srb +0 -29
  40. data/bin/srb-rbi +0 -29
  41. data/bin/tapioca +0 -29
  42. data/exe/muina +0 -11
  43. data/lefthook.yml +0 -39
  44. data/lib/muina/action/params_factory.rb +0 -17
  45. data/lib/muina/action/step/command.rb +0 -33
  46. data/lib/muina/action/step/failure.rb +0 -18
  47. data/lib/muina/action/step/query.rb +0 -35
  48. data/lib/muina/action/step/result.rb +0 -56
  49. data/lib/muina/action/step.rb +0 -13
  50. data/lib/muina/action.rb +0 -73
  51. data/lib/muina/any.rb +0 -7
  52. data/lib/muina/classes.rb +0 -7
  53. data/lib/muina/deprecator.rb +0 -93
  54. data/lib/muina/entity.rb +0 -20
  55. data/lib/muina/module.rb +0 -6
  56. data/lib/muina/parameters.rb +0 -7
  57. data/lib/muina/params.rb +0 -19
  58. data/lib/muina/private_creation.rb +0 -12
  59. data/lib/muina/result/factory.rb +0 -37
  60. data/lib/muina/result/null.rb +0 -25
  61. data/lib/muina/service.rb +0 -25
  62. data/lib/muina/symbol_hash.rb +0 -7
  63. data/lib/muina/unit.rb +0 -10
  64. data/lib/muina/untyped_array.rb +0 -7
  65. data/lib/muina/untyped_hash.rb +0 -7
  66. data/lib/muina/value.rb +0 -24
  67. data/muina.gemspec +0 -35
  68. data/rbi/muina.rbi +0 -311
  69. data/sorbet/config +0 -2
  70. data/sorbet/rbi/gems/actionpack@6.1.4.rbi +0 -5045
  71. data/sorbet/rbi/gems/actionview@6.1.4.rbi +0 -2416
  72. data/sorbet/rbi/gems/activesupport@6.1.4.rbi +0 -3778
  73. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
  74. data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +0 -322
  75. data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
  76. data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -18
  77. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  78. data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
  79. data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
  80. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
  81. data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -123
  82. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
  83. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -54
  84. data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -36
  85. data/sorbet/rbi/gems/erubis@2.7.0.rbi +0 -8
  86. data/sorbet/rbi/gems/faker@2.18.0.rbi +0 -2469
  87. data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
  88. data/sorbet/rbi/gems/flay@2.12.1.rbi +0 -178
  89. data/sorbet/rbi/gems/flog@4.6.4.rbi +0 -70
  90. data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
  91. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +0 -49
  92. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +0 -233
  93. data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +0 -66
  94. data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +0 -69
  95. data/sorbet/rbi/gems/guard@2.18.0.rbi +0 -617
  96. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
  97. data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -616
  98. data/sorbet/rbi/gems/io-console@0.5.9.rbi +0 -8
  99. data/sorbet/rbi/gems/irb@1.3.6.rbi +0 -452
  100. data/sorbet/rbi/gems/lefthook@0.7.6.rbi +0 -8
  101. data/sorbet/rbi/gems/listen@3.6.0.rbi +0 -476
  102. data/sorbet/rbi/gems/loofah@2.10.0.rbi +0 -223
  103. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +0 -431
  104. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
  105. data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
  106. data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +0 -8
  107. data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +0 -8
  108. data/sorbet/rbi/gems/mutant@0.10.32.rbi +0 -4154
  109. data/sorbet/rbi/gems/nenv@0.3.0.rbi +0 -88
  110. data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +0 -1422
  111. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +0 -331
  112. data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
  113. data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1726
  114. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1683
  115. data/sorbet/rbi/gems/path_expander@1.1.0.rbi +0 -24
  116. data/sorbet/rbi/gems/polyfill@1.9.0.rbi +0 -393
  117. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  118. data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
  119. data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -272
  120. data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1618
  121. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -92
  122. data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -183
  123. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
  124. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -808
  125. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
  126. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +0 -8
  127. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1120
  128. data/sorbet/rbi/gems/reline@0.2.6.rbi +0 -662
  129. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -672
  130. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2509
  131. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
  132. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
  133. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -509
  134. data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -38
  135. data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +0 -2194
  136. data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +0 -899
  137. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -118
  138. data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +0 -1805
  139. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -288
  140. data/sorbet/rbi/gems/rubocop@1.18.4.rbi +0 -13197
  141. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
  142. data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +0 -4528
  143. data/sorbet/rbi/gems/safe_type@1.1.1.rbi +0 -157
  144. data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +0 -359
  145. data/sorbet/rbi/gems/shellany@0.0.1.rbi +0 -28
  146. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
  147. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
  148. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
  149. data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +0 -42
  150. data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +0 -8
  151. data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +0 -17
  152. data/sorbet/rbi/gems/spoom@1.1.1.rbi +0 -1193
  153. data/sorbet/rbi/gems/tapioca@0.4.23.rbi +0 -1826
  154. data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
  155. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -856
  156. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -26
  157. data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -2037
  158. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
  159. data/sorbet/rbi/todo.rbi +0 -8
  160. data/sorbet/rbi/typed_params.rbi +0 -7
  161. data/sorbet/tapioca/require.rb +0 -16
@@ -1,452 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `irb` gem.
3
- # Please instead update this file by running `bin/tapioca sync`.
4
-
5
- # typed: true
6
-
7
- class Binding
8
- def irb; end
9
- end
10
-
11
- module IRB
12
- class << self
13
- def CurrentContext; end
14
- def Inspector(inspect, init = T.unsafe(nil)); end
15
- def conf; end
16
- def default_src_encoding; end
17
- def delete_caller; end
18
- def init_config(ap_path); end
19
- def init_error; end
20
- def irb_abort(irb, exception = T.unsafe(nil)); end
21
- def irb_at_exit; end
22
- def irb_exit(irb, ret); end
23
- def load_modules; end
24
- def parse_opts(argv: T.unsafe(nil)); end
25
- def rc_file(ext = T.unsafe(nil)); end
26
- def rc_file_generators; end
27
- def run_config; end
28
- def set_measure_callback(type = T.unsafe(nil), arg = T.unsafe(nil), &block); end
29
- def setup(ap_path, argv: T.unsafe(nil)); end
30
- def start(ap_path = T.unsafe(nil)); end
31
- def unset_measure_callback(type = T.unsafe(nil)); end
32
- def version; end
33
-
34
- private
35
-
36
- def easter_egg(type = T.unsafe(nil)); end
37
- def set_encoding(extern, intern = T.unsafe(nil), override: T.unsafe(nil)); end
38
- end
39
- end
40
-
41
- module IRB::Color
42
- class << self
43
- def clear(colorable: T.unsafe(nil)); end
44
- def colorable?; end
45
- def colorize(text, seq, colorable: T.unsafe(nil)); end
46
- def colorize_code(code, complete: T.unsafe(nil), ignore_error: T.unsafe(nil), colorable: T.unsafe(nil)); end
47
- def inspect_colorable?(obj, seen: T.unsafe(nil)); end
48
-
49
- private
50
-
51
- def dispatch_seq(token, expr, str, in_symbol:); end
52
- def scan(code, allow_last_error:); end
53
- def without_circular_ref(obj, seen:, &block); end
54
- end
55
- end
56
-
57
- IRB::Color::ALL = T.let(T.unsafe(nil), Integer)
58
- IRB::Color::BLUE = T.let(T.unsafe(nil), Integer)
59
- IRB::Color::BOLD = T.let(T.unsafe(nil), Integer)
60
- IRB::Color::CLEAR = T.let(T.unsafe(nil), Integer)
61
- IRB::Color::CYAN = T.let(T.unsafe(nil), Integer)
62
- IRB::Color::ERROR_TOKENS = T.let(T.unsafe(nil), Array)
63
- IRB::Color::GREEN = T.let(T.unsafe(nil), Integer)
64
- IRB::Color::MAGENTA = T.let(T.unsafe(nil), Integer)
65
- IRB::Color::RED = T.let(T.unsafe(nil), Integer)
66
- IRB::Color::REVERSE = T.let(T.unsafe(nil), Integer)
67
-
68
- class IRB::Color::SymbolState
69
- def initialize; end
70
-
71
- def scan_token(token); end
72
- end
73
-
74
- IRB::Color::TOKEN_KEYWORDS = T.let(T.unsafe(nil), Hash)
75
- IRB::Color::TOKEN_SEQ_EXPRS = T.let(T.unsafe(nil), Hash)
76
- IRB::Color::UNDERLINE = T.let(T.unsafe(nil), Integer)
77
- IRB::Color::YELLOW = T.let(T.unsafe(nil), Integer)
78
-
79
- class IRB::Context
80
- def initialize(irb, workspace = T.unsafe(nil), input_method = T.unsafe(nil)); end
81
-
82
- def ap_name; end
83
- def ap_name=(_arg0); end
84
- def auto_indent_mode; end
85
- def auto_indent_mode=(_arg0); end
86
- def back_trace_limit; end
87
- def back_trace_limit=(_arg0); end
88
- def echo; end
89
- def echo=(_arg0); end
90
- def echo?; end
91
- def echo_on_assignment; end
92
- def echo_on_assignment=(_arg0); end
93
- def echo_on_assignment?; end
94
- def eval_history=(*opts, &b); end
95
- def evaluate(line, line_no, exception: T.unsafe(nil)); end
96
- def exit(ret = T.unsafe(nil)); end
97
- def file_input?; end
98
- def ignore_eof; end
99
- def ignore_eof=(_arg0); end
100
- def ignore_eof?; end
101
- def ignore_sigint; end
102
- def ignore_sigint=(_arg0); end
103
- def ignore_sigint?; end
104
- def inspect; end
105
- def inspect?; end
106
- def inspect_last_value; end
107
- def inspect_mode; end
108
- def inspect_mode=(opt); end
109
- def io; end
110
- def io=(_arg0); end
111
- def irb; end
112
- def irb=(_arg0); end
113
- def irb_name; end
114
- def irb_name=(_arg0); end
115
- def irb_path; end
116
- def irb_path=(_arg0); end
117
- def last_value; end
118
- def load_modules; end
119
- def load_modules=(_arg0); end
120
- def main; end
121
- def newline_before_multiline_output; end
122
- def newline_before_multiline_output=(_arg0); end
123
- def newline_before_multiline_output?; end
124
- def prompt_c; end
125
- def prompt_c=(_arg0); end
126
- def prompt_i; end
127
- def prompt_i=(_arg0); end
128
- def prompt_mode; end
129
- def prompt_mode=(mode); end
130
- def prompt_n; end
131
- def prompt_n=(_arg0); end
132
- def prompt_s; end
133
- def prompt_s=(_arg0); end
134
- def prompting?; end
135
- def rc; end
136
- def rc=(_arg0); end
137
- def rc?; end
138
- def return_format; end
139
- def return_format=(_arg0); end
140
- def save_history=(*opts, &b); end
141
- def set_last_value(value); end
142
- def thread; end
143
- def to_s; end
144
- def use_colorize; end
145
- def use_colorize?; end
146
- def use_loader=(*opts, &b); end
147
- def use_multiline; end
148
- def use_multiline?; end
149
- def use_readline; end
150
- def use_readline?; end
151
- def use_reidline; end
152
- def use_reidline?; end
153
- def use_singleline; end
154
- def use_singleline?; end
155
- def use_tracer=(*opts, &b); end
156
- def verbose; end
157
- def verbose=(_arg0); end
158
- def verbose?; end
159
- def workspace; end
160
- def workspace=(_arg0); end
161
- def workspace_home; end
162
- end
163
-
164
- IRB::Context::IDNAME_IVARS = T.let(T.unsafe(nil), Array)
165
- IRB::Context::NOPRINTING_IVARS = T.let(T.unsafe(nil), Array)
166
- IRB::Context::NO_INSPECTING_IVARS = T.let(T.unsafe(nil), Array)
167
-
168
- module IRB::ContextExtender
169
- class << self
170
- def def_extend_command(cmd_name, load_file, *aliases); end
171
- def install_extend_commands; end
172
- end
173
- end
174
-
175
- class IRB::DefaultEncodings < ::Struct
176
- def external; end
177
- def external=(_); end
178
- def internal; end
179
- def internal=(_); end
180
-
181
- class << self
182
- def [](*_arg0); end
183
- def inspect; end
184
- def members; end
185
- def new(*_arg0); end
186
- end
187
- end
188
-
189
- module IRB::ExtendCommandBundle
190
- def install_alias_method(to, from, override = T.unsafe(nil)); end
191
- def irb(*opts, &b); end
192
- def irb_change_workspace(*opts, &b); end
193
- def irb_context; end
194
- def irb_current_working_workspace(*opts, &b); end
195
- def irb_exit(ret = T.unsafe(nil)); end
196
- def irb_fg(*opts, &b); end
197
- def irb_help(*opts, &b); end
198
- def irb_info(*opts, &b); end
199
- def irb_jobs(*opts, &b); end
200
- def irb_kill(*opts, &b); end
201
- def irb_load(*opts, &b); end
202
- def irb_ls(*opts, &b); end
203
- def irb_measure(*opts, &b); end
204
- def irb_pop_workspace(*opts, &b); end
205
- def irb_push_workspace(*opts, &b); end
206
- def irb_require(*opts, &b); end
207
- def irb_show_source(*opts, &b); end
208
- def irb_source(*opts, &b); end
209
- def irb_whereami(*opts, &b); end
210
- def irb_workspaces(*opts, &b); end
211
-
212
- class << self
213
- def def_extend_command(cmd_name, cmd_class, load_file = T.unsafe(nil), *aliases); end
214
- def extend_object(obj); end
215
- def install_extend_commands; end
216
- def irb_original_method_name(method_name); end
217
- end
218
- end
219
-
220
- IRB::ExtendCommandBundle::EXCB = IRB::ExtendCommandBundle
221
-
222
- class IRB::FileInputMethod < ::IRB::InputMethod
223
- def initialize(file); end
224
-
225
- def close; end
226
- def encoding; end
227
- def eof?; end
228
- def file_name; end
229
- def gets; end
230
- def inspect; end
231
-
232
- class << self
233
- def open(file, &block); end
234
- end
235
- end
236
-
237
- IRB::IRBRC_EXT = T.let(T.unsafe(nil), String)
238
-
239
- module IRB::InputCompletor
240
- class << self
241
- def ignored_modules; end
242
- def retrieve_completion_data(input, bind: T.unsafe(nil), doc_namespace: T.unsafe(nil)); end
243
- def retrieve_files_to_require_from_load_path; end
244
- def retrieve_files_to_require_relative_from_current_dir; end
245
- def select_message(receiver, message, candidates, sep = T.unsafe(nil)); end
246
- end
247
- end
248
-
249
- IRB::InputCompletor::BASIC_WORD_BREAK_CHARACTERS = T.let(T.unsafe(nil), String)
250
- IRB::InputCompletor::CompletionProc = T.let(T.unsafe(nil), Proc)
251
- IRB::InputCompletor::CompletionRequireProc = T.let(T.unsafe(nil), Proc)
252
- IRB::InputCompletor::Operators = T.let(T.unsafe(nil), Array)
253
- IRB::InputCompletor::PerfectMatchedProc = T.let(T.unsafe(nil), Proc)
254
- IRB::InputCompletor::ReservedWords = T.let(T.unsafe(nil), Array)
255
-
256
- class IRB::InputMethod
257
- def initialize(file = T.unsafe(nil)); end
258
-
259
- def file_name; end
260
- def gets; end
261
- def inspect; end
262
- def prompt; end
263
- def prompt=(_arg0); end
264
- def readable_after_eof?; end
265
- def winsize; end
266
- end
267
-
268
- class IRB::Inspector
269
- def initialize(inspect_proc, init_proc = T.unsafe(nil)); end
270
-
271
- def init; end
272
- def inspect_value(v); end
273
-
274
- class << self
275
- def def_inspector(key, arg = T.unsafe(nil), &block); end
276
- def keys_with_inspector(inspector); end
277
- end
278
- end
279
-
280
- class IRB::Irb
281
- def initialize(workspace = T.unsafe(nil), input_method = T.unsafe(nil)); end
282
-
283
- def assignment_expression?(line); end
284
- def context; end
285
- def convert_invalid_byte_sequence(str, enc); end
286
- def encode_with_invalid_byte_sequence(str, enc); end
287
- def eval_input; end
288
- def handle_exception(exc); end
289
- def inspect; end
290
- def output_value(omit = T.unsafe(nil)); end
291
- def prompt(prompt, ltype, indent, line_no); end
292
- def run(conf = T.unsafe(nil)); end
293
- def scanner; end
294
- def scanner=(_arg0); end
295
- def signal_handle; end
296
- def signal_status(status); end
297
- def suspend_context(context); end
298
- def suspend_input_method(input_method); end
299
- def suspend_name(path = T.unsafe(nil), name = T.unsafe(nil)); end
300
- def suspend_workspace(workspace); end
301
- end
302
-
303
- IRB::Irb::ASSIGNMENT_NODE_TYPES = T.let(T.unsafe(nil), Array)
304
-
305
- class IRB::Locale
306
- def initialize(locale = T.unsafe(nil)); end
307
-
308
- def String(mes); end
309
- def encoding; end
310
- def find(file, paths = T.unsafe(nil)); end
311
- def format(*opts); end
312
- def gets(*rs); end
313
- def lang; end
314
- def load(file, priv = T.unsafe(nil)); end
315
- def modifier; end
316
- def print(*opts); end
317
- def printf(*opts); end
318
- def puts(*opts); end
319
- def readline(*rs); end
320
- def require(file, priv = T.unsafe(nil)); end
321
- def territory; end
322
-
323
- private
324
-
325
- def each_localized_path(dir, file); end
326
- def each_sublocale; end
327
- def real_load(path, priv); end
328
- def search_file(lib_paths, dir, file); end
329
- def toplevel_load(*_arg0); end
330
- end
331
-
332
- IRB::Locale::LOCALE_DIR = T.let(T.unsafe(nil), String)
333
- IRB::Locale::LOCALE_NAME_RE = T.let(T.unsafe(nil), Regexp)
334
- IRB::MagicFile = T.let(T.unsafe(nil), Object)
335
-
336
- module IRB::MethodExtender
337
- def def_post_proc(base_method, extend_method); end
338
- def def_pre_proc(base_method, extend_method); end
339
- def new_alias_name(name, prefix = T.unsafe(nil), postfix = T.unsafe(nil)); end
340
- end
341
-
342
- class IRB::OutputMethod
343
- def parse_printf_format(format, opts); end
344
- def pp(*objs); end
345
- def ppx(prefix, *objs); end
346
- def print(*opts); end
347
- def printf(format, *opts); end
348
- def printn(*opts); end
349
- def puts(*objs); end
350
- end
351
-
352
- class IRB::OutputMethod::NotImplementedError < ::StandardError
353
- def initialize(val); end
354
- end
355
-
356
- class IRB::ReadlineInputMethod < ::IRB::InputMethod
357
- def initialize; end
358
-
359
- def encoding; end
360
- def eof?; end
361
- def gets; end
362
- def inspect; end
363
- def line(line_no); end
364
- def readable_after_eof?; end
365
-
366
- class << self
367
- def initialize_readline; end
368
- end
369
- end
370
-
371
- class IRB::ReidlineInputMethod < ::IRB::InputMethod
372
- include ::Reline
373
-
374
- def initialize; end
375
-
376
- def auto_indent(&block); end
377
- def check_termination(&block); end
378
- def dynamic_prompt(&block); end
379
- def encoding; end
380
- def eof?; end
381
- def gets; end
382
- def inspect; end
383
- def line(line_no); end
384
- def readable_after_eof?; end
385
- end
386
-
387
- IRB::STDIN_FILE_NAME = T.let(T.unsafe(nil), String)
388
-
389
- class IRB::StdioInputMethod < ::IRB::InputMethod
390
- def initialize; end
391
-
392
- def encoding; end
393
- def eof?; end
394
- def gets; end
395
- def inspect; end
396
- def line(line_no); end
397
- def readable_after_eof?; end
398
- end
399
-
400
- class IRB::StdioOutputMethod < ::IRB::OutputMethod
401
- def print(*opts); end
402
- end
403
-
404
- IRB::VERSION = T.let(T.unsafe(nil), String)
405
-
406
- class IRB::WorkSpace
407
- def initialize(*main); end
408
-
409
- def binding; end
410
- def code_around_binding; end
411
- def evaluate(context, statements, file = T.unsafe(nil), line = T.unsafe(nil)); end
412
- def filter_backtrace(bt); end
413
- def local_variable_get(name); end
414
- def local_variable_set(name, value); end
415
- def main; end
416
- end
417
-
418
- class RubyLex
419
- def initialize; end
420
-
421
- def check_code_block(code, tokens = T.unsafe(nil)); end
422
- def check_corresponding_token_depth; end
423
- def check_newline_depth_difference; end
424
- def check_state(code, tokens = T.unsafe(nil)); end
425
- def check_string_literal(tokens); end
426
- def check_termination_in_prev_line(code); end
427
- def each_top_level_statement; end
428
- def find_prev_spaces(line_index); end
429
- def initialize_input; end
430
- def is_method_calling?(tokens, index); end
431
- def is_the_in_correspond_to_a_for(tokens, index); end
432
- def lex; end
433
- def process_continue(tokens = T.unsafe(nil)); end
434
- def process_literal_type(tokens = T.unsafe(nil)); end
435
- def process_nesting_level(tokens = T.unsafe(nil)); end
436
- def prompt; end
437
- def set_auto_indent(context); end
438
- def set_input(io, p = T.unsafe(nil), &block); end
439
- def set_prompt(p = T.unsafe(nil), &block); end
440
- def take_corresponding_syntax_to_kw_do(tokens, index); end
441
-
442
- class << self
443
- def compile_with_errors_suppressed(code); end
444
- def ripper_lex_without_warning(code); end
445
- end
446
- end
447
-
448
- RubyLex::ERROR_TOKENS = T.let(T.unsafe(nil), Array)
449
-
450
- class RubyLex::TerminateLineInput < ::StandardError
451
- def initialize; end
452
- end
@@ -1,8 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `lefthook` gem.
3
- # Please instead update this file by running `bin/tapioca sync`.
4
-
5
- # typed: true
6
-
7
- # THIS IS AN EMPTY RBI FILE.
8
- # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires