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,662 +0,0 @@
1
- # DO NOT EDIT MANUALLY
2
- # This is an autogenerated file for types exported from the `reline` gem.
3
- # Please instead update this file by running `bin/tapioca sync`.
4
-
5
- # typed: true
6
-
7
- module Reline
8
- extend ::Forwardable
9
- extend ::SingleForwardable
10
-
11
- def eof?(*args, &block); end
12
-
13
- private
14
-
15
- def readline(*args, &block); end
16
- def readmultiline(*args, &block); end
17
-
18
- class << self
19
- def ambiguous_width(*args, &block); end
20
- def auto_indent_proc(*args, &block); end
21
- def auto_indent_proc=(*args, &block); end
22
- def basic_quote_characters(*args, &block); end
23
- def basic_quote_characters=(*args, &block); end
24
- def basic_word_break_characters(*args, &block); end
25
- def basic_word_break_characters=(*args, &block); end
26
- def completer_quote_characters(*args, &block); end
27
- def completer_quote_characters=(*args, &block); end
28
- def completer_word_break_characters(*args, &block); end
29
- def completer_word_break_characters=(*args, &block); end
30
- def completion_append_character(*args, &block); end
31
- def completion_append_character=(*args, &block); end
32
- def completion_case_fold(*args, &block); end
33
- def completion_case_fold=(*args, &block); end
34
- def completion_proc(*args, &block); end
35
- def completion_proc=(*args, &block); end
36
- def completion_quote_character(*args, &block); end
37
- def core; end
38
- def delete_text(*args, &block); end
39
- def dig_perfect_match_proc(*args, &block); end
40
- def dig_perfect_match_proc=(*args, &block); end
41
- def emacs_editing_mode(*args, &block); end
42
- def emacs_editing_mode?(*args, &block); end
43
- def encoding_system_needs; end
44
- def eof?(*args, &block); end
45
- def filename_quote_characters(*args, &block); end
46
- def filename_quote_characters=(*args, &block); end
47
- def get_screen_size(*args, &block); end
48
- def input=(*args, &block); end
49
- def insert_text(*args, &block); end
50
- def last_incremental_search(*args, &block); end
51
- def last_incremental_search=(*args, &block); end
52
- def line_buffer(*args, &block); end
53
- def line_editor; end
54
- def output=(*args, &block); end
55
- def output_modifier_proc(*args, &block); end
56
- def output_modifier_proc=(*args, &block); end
57
- def point(*args, &block); end
58
- def point=(*args, &block); end
59
- def pre_input_hook(*args, &block); end
60
- def pre_input_hook=(*args, &block); end
61
- def prompt_proc(*args, &block); end
62
- def prompt_proc=(*args, &block); end
63
- def readline(*args, &block); end
64
- def readmultiline(*args, &block); end
65
- def redisplay(*args, &block); end
66
- def special_prefixes(*args, &block); end
67
- def special_prefixes=(*args, &block); end
68
- def ungetc(c); end
69
- def vi_editing_mode(*args, &block); end
70
- def vi_editing_mode?(*args, &block); end
71
- end
72
- end
73
-
74
- class Reline::ANSI
75
- class << self
76
- def clear_screen; end
77
- def cursor_pos; end
78
- def deprep(otio); end
79
- def empty_buffer?; end
80
- def encoding; end
81
- def erase_after_cursor; end
82
- def get_screen_size; end
83
- def getc; end
84
- def getc_with_bracketed_paste; end
85
- def in_pasting?; end
86
- def inner_getc; end
87
- def input=(val); end
88
- def move_cursor_column(x); end
89
- def move_cursor_down(x); end
90
- def move_cursor_up(x); end
91
- def output=(val); end
92
- def prep; end
93
- def retrieve_keybuffer; end
94
- def scroll_down(x); end
95
- def set_default_key_bindings(config); end
96
- def set_default_key_bindings_comprehensive_list(config); end
97
- def set_default_key_bindings_terminfo(config); end
98
- def set_screen_size(rows, columns); end
99
- def set_winch_handler(&handler); end
100
- def ungetc(c); end
101
- def win?; end
102
- end
103
- end
104
-
105
- Reline::ANSI::END_BRACKETED_PASTE = T.let(T.unsafe(nil), String)
106
- Reline::ANSI::START_BRACKETED_PASTE = T.let(T.unsafe(nil), String)
107
-
108
- class Reline::Config
109
- def initialize; end
110
-
111
- def add_default_key_binding(keystroke, target); end
112
- def add_default_key_binding_by_keymap(keymap, keystroke, target); end
113
- def bind_key(key, func_name); end
114
- def bind_tty_special_chars; end
115
- def bind_tty_special_chars=(_arg0); end
116
- def bind_variable(name, value); end
117
- def blink_matching_paren; end
118
- def blink_matching_paren=(_arg0); end
119
- def byte_oriented; end
120
- def byte_oriented=(_arg0); end
121
- def completion_ignore_case; end
122
- def completion_ignore_case=(_arg0); end
123
- def convert_meta; end
124
- def convert_meta=(_arg0); end
125
- def disable_completion; end
126
- def disable_completion=(_arg0); end
127
- def editing_mode; end
128
- def editing_mode=(val); end
129
- def editing_mode_is?(*val); end
130
- def emacs_mode_string; end
131
- def emacs_mode_string=(_arg0); end
132
- def enable_bracketed_paste; end
133
- def enable_bracketed_paste=(_arg0); end
134
- def enable_keypad; end
135
- def enable_keypad=(_arg0); end
136
- def expand_tilde; end
137
- def expand_tilde=(_arg0); end
138
- def handle_directive(directive, file, no); end
139
- def history_preserve_point; end
140
- def history_preserve_point=(_arg0); end
141
- def history_size; end
142
- def history_size=(_arg0); end
143
- def horizontal_scroll_mode; end
144
- def horizontal_scroll_mode=(_arg0); end
145
- def input_meta; end
146
- def input_meta=(_arg0); end
147
- def inputrc_path; end
148
- def isearch_terminators; end
149
- def isearch_terminators=(_arg0); end
150
- def key_bindings; end
151
- def key_notation_to_code(notation); end
152
- def keymap; end
153
- def keyseq_timeout; end
154
- def keyseq_timeout=(_arg0); end
155
- def mark_directories; end
156
- def mark_directories=(_arg0); end
157
- def mark_modified_lines; end
158
- def mark_modified_lines=(_arg0); end
159
- def mark_symlinked_directories; end
160
- def mark_symlinked_directories=(_arg0); end
161
- def match_hidden_files; end
162
- def match_hidden_files=(_arg0); end
163
- def meta_flag; end
164
- def meta_flag=(_arg0); end
165
- def output_meta; end
166
- def output_meta=(_arg0); end
167
- def page_completions; end
168
- def page_completions=(_arg0); end
169
- def parse_keyseq(str); end
170
- def prefer_visible_bell; end
171
- def prefer_visible_bell=(_arg0); end
172
- def print_completions_horizontally; end
173
- def print_completions_horizontally=(_arg0); end
174
- def read(file = T.unsafe(nil)); end
175
- def read_lines(lines, file = T.unsafe(nil)); end
176
- def reset; end
177
- def reset_default_key_bindings; end
178
- def retrieve_string(str); end
179
- def show_all_if_ambiguous; end
180
- def show_all_if_ambiguous=(_arg0); end
181
- def show_all_if_unmodified; end
182
- def show_all_if_unmodified=(_arg0); end
183
- def show_mode_in_prompt; end
184
- def show_mode_in_prompt=(_arg0); end
185
- def test_mode; end
186
- def vi_cmd_mode_string; end
187
- def vi_cmd_mode_string=(_arg0); end
188
- def vi_ins_mode_string; end
189
- def vi_ins_mode_string=(_arg0); end
190
- def visible_stats; end
191
- def visible_stats=(_arg0); end
192
- end
193
-
194
- class Reline::Config::InvalidInputrc < ::RuntimeError
195
- def file; end
196
- def file=(_arg0); end
197
- def lineno; end
198
- def lineno=(_arg0); end
199
- end
200
-
201
- Reline::Config::KEYSEQ_PATTERN = T.let(T.unsafe(nil), Regexp)
202
- Reline::Config::VARIABLE_NAMES = T.let(T.unsafe(nil), Array)
203
- Reline::Config::VARIABLE_NAME_SYMBOLS = T.let(T.unsafe(nil), Array)
204
-
205
- class Reline::Core
206
- def initialize; end
207
-
208
- def ambiguous_width; end
209
- def auto_indent_proc; end
210
- def auto_indent_proc=(p); end
211
- def basic_quote_characters; end
212
- def basic_quote_characters=(v); end
213
- def basic_word_break_characters; end
214
- def basic_word_break_characters=(v); end
215
- def completer_quote_characters; end
216
- def completer_quote_characters=(v); end
217
- def completer_word_break_characters; end
218
- def completer_word_break_characters=(v); end
219
- def completion_append_character; end
220
- def completion_append_character=(val); end
221
- def completion_case_fold; end
222
- def completion_case_fold=(v); end
223
- def completion_proc; end
224
- def completion_proc=(p); end
225
- def completion_quote_character; end
226
- def config; end
227
- def config=(_arg0); end
228
- def dig_perfect_match_proc; end
229
- def dig_perfect_match_proc=(p); end
230
- def emacs_editing_mode; end
231
- def emacs_editing_mode?; end
232
- def encoding; end
233
- def filename_quote_characters; end
234
- def filename_quote_characters=(v); end
235
- def get_screen_size; end
236
- def input=(val); end
237
- def key_stroke; end
238
- def key_stroke=(_arg0); end
239
- def last_incremental_search; end
240
- def last_incremental_search=(_arg0); end
241
- def line_editor; end
242
- def line_editor=(_arg0); end
243
- def output; end
244
- def output=(val); end
245
- def output_modifier_proc; end
246
- def output_modifier_proc=(p); end
247
- def pre_input_hook; end
248
- def pre_input_hook=(p); end
249
- def prompt_proc; end
250
- def prompt_proc=(p); end
251
- def readline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil)); end
252
- def readmultiline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil), &confirm_multiline_termination); end
253
- def special_prefixes; end
254
- def special_prefixes=(v); end
255
- def vi_editing_mode; end
256
- def vi_editing_mode?; end
257
-
258
- private
259
-
260
- def inner_readline(prompt, add_hist, multiline, &confirm_multiline_termination); end
261
- def may_req_ambiguous_char_width; end
262
- def read_escaped_key(keyseq_timeout, c, block); end
263
- def read_io(keyseq_timeout, &block); end
264
- end
265
-
266
- Reline::Core::ATTR_READER_NAMES = T.let(T.unsafe(nil), Array)
267
-
268
- class Reline::CursorPos < ::Struct
269
- def x; end
270
- def x=(_); end
271
- def y; end
272
- def y=(_); end
273
-
274
- class << self
275
- def [](*_arg0); end
276
- def inspect; end
277
- def members; end
278
- def new(*_arg0); end
279
- end
280
- end
281
-
282
- class Reline::GeneralIO
283
- class << self
284
- def clear_screen; end
285
- def cursor_pos; end
286
- def deprep(otio); end
287
- def encoding; end
288
- def erase_after_cursor; end
289
- def finish_pasting; end
290
- def get_screen_size; end
291
- def getc; end
292
- def in_pasting?; end
293
- def input=(val); end
294
- def move_cursor_column(val); end
295
- def move_cursor_down(val); end
296
- def move_cursor_up(val); end
297
- def prep; end
298
- def reset(encoding: T.unsafe(nil)); end
299
- def scroll_down(val); end
300
- def set_default_key_bindings(_); end
301
- def set_screen_size(rows, columns); end
302
- def set_winch_handler(&handler); end
303
- def start_pasting; end
304
- def ungetc(c); end
305
- def win?; end
306
- end
307
- end
308
-
309
- Reline::HISTORY = T.let(T.unsafe(nil), Reline::History)
310
-
311
- class Reline::History < ::Array
312
- def initialize(config); end
313
-
314
- def <<(val); end
315
- def [](index); end
316
- def []=(index, val); end
317
- def concat(*val); end
318
- def delete_at(index); end
319
- def push(*val); end
320
- def to_s; end
321
-
322
- private
323
-
324
- def check_index(index); end
325
- end
326
-
327
- Reline::IOGate = Reline::ANSI
328
- Reline::Key = Struct
329
- module Reline::KeyActor; end
330
-
331
- class Reline::KeyActor::Base
332
- def initialize; end
333
-
334
- def default_key_bindings; end
335
- def get_method(key); end
336
- def reset_default_key_bindings; end
337
- end
338
-
339
- Reline::KeyActor::Base::MAPPING = T.let(T.unsafe(nil), Array)
340
- class Reline::KeyActor::Emacs < ::Reline::KeyActor::Base; end
341
- Reline::KeyActor::Emacs::MAPPING = T.let(T.unsafe(nil), Array)
342
- class Reline::KeyActor::ViCommand < ::Reline::KeyActor::Base; end
343
- Reline::KeyActor::ViCommand::MAPPING = T.let(T.unsafe(nil), Array)
344
- class Reline::KeyActor::ViInsert < ::Reline::KeyActor::Base; end
345
- Reline::KeyActor::ViInsert::MAPPING = T.let(T.unsafe(nil), Array)
346
-
347
- class Reline::KeyStroke
348
- def initialize(config); end
349
-
350
- def expand(input); end
351
- def match_status(input); end
352
-
353
- private
354
-
355
- def key_mapping; end
356
- end
357
-
358
- class Reline::KillRing
359
- include ::Enumerable
360
-
361
- def initialize(max = T.unsafe(nil)); end
362
-
363
- def append(string, before_p = T.unsafe(nil)); end
364
- def each; end
365
- def process; end
366
- def yank; end
367
- def yank_pop; end
368
- end
369
-
370
- class Reline::KillRing::RingBuffer
371
- def initialize(max = T.unsafe(nil)); end
372
-
373
- def <<(point); end
374
- def empty?; end
375
- def head; end
376
- def size; end
377
- end
378
-
379
- class Reline::KillRing::RingPoint < ::Struct
380
- def initialize(str); end
381
-
382
- def ==(other); end
383
- def backward; end
384
- def backward=(_); end
385
- def forward; end
386
- def forward=(_); end
387
- def str; end
388
- def str=(_); end
389
-
390
- class << self
391
- def [](*_arg0); end
392
- def inspect; end
393
- def members; end
394
- def new(*_arg0); end
395
- end
396
- end
397
-
398
- module Reline::KillRing::State; end
399
- Reline::KillRing::State::CONTINUED = T.let(T.unsafe(nil), Symbol)
400
- Reline::KillRing::State::FRESH = T.let(T.unsafe(nil), Symbol)
401
- Reline::KillRing::State::PROCESSED = T.let(T.unsafe(nil), Symbol)
402
- Reline::KillRing::State::YANK = T.let(T.unsafe(nil), Symbol)
403
-
404
- class Reline::LineEditor
405
- def initialize(config, encoding); end
406
-
407
- def auto_indent_proc; end
408
- def auto_indent_proc=(_arg0); end
409
- def byte_pointer; end
410
- def byte_pointer=(val); end
411
- def call_completion_proc; end
412
- def completion_append_character; end
413
- def completion_append_character=(_arg0); end
414
- def completion_proc; end
415
- def completion_proc=(_arg0); end
416
- def confirm_multiline_termination; end
417
- def confirm_multiline_termination_proc; end
418
- def confirm_multiline_termination_proc=(_arg0); end
419
- def delete_text(start = T.unsafe(nil), length = T.unsafe(nil)); end
420
- def dig_perfect_match_proc; end
421
- def dig_perfect_match_proc=(_arg0); end
422
- def editing_mode; end
423
- def eof?; end
424
- def finalize; end
425
- def finish; end
426
- def finished?; end
427
- def input_key(key); end
428
- def insert_text(text); end
429
- def just_move_cursor; end
430
- def line; end
431
- def multiline_off; end
432
- def multiline_on; end
433
- def output=(_arg0); end
434
- def output_modifier_proc; end
435
- def output_modifier_proc=(_arg0); end
436
- def pre_input_hook; end
437
- def pre_input_hook=(_arg0); end
438
- def prompt_proc; end
439
- def prompt_proc=(_arg0); end
440
- def rerender; end
441
- def rerender_all; end
442
- def reset(prompt = T.unsafe(nil), encoding:); end
443
- def reset_line; end
444
- def reset_variables(prompt = T.unsafe(nil), encoding:); end
445
- def retrieve_completion_block(set_completion_quote_character = T.unsafe(nil)); end
446
- def set_pasting_state(in_pasting); end
447
- def simplified_rendering?; end
448
- def whole_buffer; end
449
- def whole_lines(index: T.unsafe(nil), line: T.unsafe(nil)); end
450
- def wrap_method_call(method_symbol, method_obj, key, with_operator = T.unsafe(nil)); end
451
-
452
- private
453
-
454
- def argumentable?(method_obj); end
455
- def backward_char(key, arg: T.unsafe(nil)); end
456
- def backward_delete_char(key); end
457
- def backward_word(key); end
458
- def beginning_of_line(key); end
459
- def byteinsert(str, byte_pointer, other); end
460
- def byteslice!(str, byte_pointer, size); end
461
- def calculate_height_by_lines(lines, prompt); end
462
- def calculate_height_by_width(width); end
463
- def calculate_nearest_cursor(line_to_calc = T.unsafe(nil), cursor = T.unsafe(nil), started_from = T.unsafe(nil), byte_pointer = T.unsafe(nil), update = T.unsafe(nil)); end
464
- def calculate_scroll_partial_screen(highest_in_all, cursor_y); end
465
- def calculate_width(str, allow_escape_code = T.unsafe(nil)); end
466
- def capitalize_word(key); end
467
- def check_mode_string; end
468
- def check_multiline_prompt(buffer, prompt); end
469
- def clear_screen(key); end
470
- def clear_screen_buffer(prompt, prompt_list, prompt_width); end
471
- def complete(list, just_show_list = T.unsafe(nil)); end
472
- def complete_internal_proc(list, is_menu); end
473
- def copy_for_vi(text); end
474
- def delete_char(key); end
475
- def delete_char_or_list(key); end
476
- def downcase_word(key); end
477
- def ed_argument_digit(key); end
478
- def ed_clear_screen(key); end
479
- def ed_delete_next_char(key, arg: T.unsafe(nil)); end
480
- def ed_delete_prev_char(key, arg: T.unsafe(nil)); end
481
- def ed_delete_prev_word(key); end
482
- def ed_digit(key); end
483
- def ed_insert(key); end
484
- def ed_kill_line(key); end
485
- def ed_move_to_beg(key); end
486
- def ed_move_to_end(key); end
487
- def ed_newline(key); end
488
- def ed_next_char(key, arg: T.unsafe(nil)); end
489
- def ed_next_history(key, arg: T.unsafe(nil)); end
490
- def ed_prev_char(key, arg: T.unsafe(nil)); end
491
- def ed_prev_history(key, arg: T.unsafe(nil)); end
492
- def ed_prev_word(key); end
493
- def ed_quoted_insert(str, arg: T.unsafe(nil)); end
494
- def ed_search_next_history(key, arg: T.unsafe(nil)); end
495
- def ed_search_prev_history(key, arg: T.unsafe(nil)); end
496
- def ed_transpose_chars(key); end
497
- def ed_transpose_words(key); end
498
- def ed_unassigned(key); end
499
- def em_capitol_case(key); end
500
- def em_delete(key); end
501
- def em_delete_next_word(key); end
502
- def em_delete_or_list(key); end
503
- def em_delete_prev_char(key); end
504
- def em_exchange_mark(key); end
505
- def em_kill_line(key); end
506
- def em_kill_region(key); end
507
- def em_lower_case(key); end
508
- def em_next_word(key); end
509
- def em_set_mark(key); end
510
- def em_upper_case(key); end
511
- def em_yank(key); end
512
- def em_yank_pop(key); end
513
- def end_of_line(key); end
514
- def exchange_point_and_mark(key); end
515
- def forward_char(key, arg: T.unsafe(nil)); end
516
- def forward_search_history(key); end
517
- def forward_word(key); end
518
- def generate_searcher; end
519
- def history_search_backward(key, arg: T.unsafe(nil)); end
520
- def history_search_forward(key, arg: T.unsafe(nil)); end
521
- def inclusive?(method_obj); end
522
- def incremental_search_history(key); end
523
- def insert_new_line(cursor_line, next_line); end
524
- def key_delete(key); end
525
- def key_newline(key); end
526
- def kill_line(key); end
527
- def menu(target, list); end
528
- def modify_lines(before); end
529
- def move_completed_list(list, direction); end
530
- def move_cursor_down(val); end
531
- def move_cursor_up(val); end
532
- def normal_char(key); end
533
- def process_auto_indent; end
534
- def process_insert(force: T.unsafe(nil)); end
535
- def process_key(key, method_symbol); end
536
- def quoted_insert(str, arg: T.unsafe(nil)); end
537
- def render_partial(prompt, prompt_width, line_to_render, this_started_from, with_control: T.unsafe(nil)); end
538
- def render_whole_lines(lines, prompt, prompt_width); end
539
- def rerender_added_newline(prompt, prompt_width); end
540
- def rerender_all_lines; end
541
- def rerender_changed_current_line; end
542
- def reverse_search_history(key); end
543
- def run_for_operators(key, method_symbol, &block); end
544
- def scroll_down(val); end
545
- def search_next_char(key, arg, need_prev_char: T.unsafe(nil), inclusive: T.unsafe(nil)); end
546
- def search_prev_char(key, arg, need_next_char = T.unsafe(nil)); end
547
- def self_insert(key); end
548
- def set_mark(key); end
549
- def show_menu; end
550
- def split_by_width(str, max_width); end
551
- def transpose_chars(key); end
552
- def transpose_words(key); end
553
- def unix_word_rubout(key); end
554
- def upcase_word(key); end
555
- def vi_add(key); end
556
- def vi_add_at_eol(key); end
557
- def vi_change_meta(key, arg: T.unsafe(nil)); end
558
- def vi_command_mode(key); end
559
- def vi_delete_meta(key, arg: T.unsafe(nil)); end
560
- def vi_delete_prev_char(key); end
561
- def vi_end_big_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
562
- def vi_end_of_transmission(key); end
563
- def vi_end_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
564
- def vi_eof_maybe(key); end
565
- def vi_first_print(key); end
566
- def vi_histedit(key); end
567
- def vi_insert(key); end
568
- def vi_insert_at_bol(key); end
569
- def vi_join_lines(key, arg: T.unsafe(nil)); end
570
- def vi_list_or_eof(key); end
571
- def vi_movement_mode(key); end
572
- def vi_next_big_word(key, arg: T.unsafe(nil)); end
573
- def vi_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
574
- def vi_next_word(key, arg: T.unsafe(nil)); end
575
- def vi_paste_next(key, arg: T.unsafe(nil)); end
576
- def vi_paste_prev(key, arg: T.unsafe(nil)); end
577
- def vi_prev_big_word(key, arg: T.unsafe(nil)); end
578
- def vi_prev_char(key, arg: T.unsafe(nil)); end
579
- def vi_prev_word(key, arg: T.unsafe(nil)); end
580
- def vi_replace_char(key, arg: T.unsafe(nil)); end
581
- def vi_search_next(key); end
582
- def vi_search_prev(key); end
583
- def vi_to_column(key, arg: T.unsafe(nil)); end
584
- def vi_to_history_line(key); end
585
- def vi_to_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
586
- def vi_to_prev_char(key, arg: T.unsafe(nil)); end
587
- def vi_yank(key, arg: T.unsafe(nil)); end
588
- def vi_zero(key); end
589
- def yank(key); end
590
- def yank_pop(key); end
591
- end
592
-
593
- Reline::LineEditor::CompletionJourneyData = Struct
594
- module Reline::LineEditor::CompletionState; end
595
- Reline::LineEditor::CompletionState::COMPLETION = T.let(T.unsafe(nil), Symbol)
596
- Reline::LineEditor::CompletionState::JOURNEY = T.let(T.unsafe(nil), Symbol)
597
- Reline::LineEditor::CompletionState::MENU = T.let(T.unsafe(nil), Symbol)
598
- Reline::LineEditor::CompletionState::MENU_WITH_PERFECT_MATCH = T.let(T.unsafe(nil), Symbol)
599
- Reline::LineEditor::CompletionState::NORMAL = T.let(T.unsafe(nil), Symbol)
600
- Reline::LineEditor::CompletionState::PERFECT_MATCH = T.let(T.unsafe(nil), Symbol)
601
- Reline::LineEditor::MenuInfo = Struct
602
- Reline::LineEditor::PROMPT_LIST_CACHE_TIMEOUT = T.let(T.unsafe(nil), Float)
603
- Reline::LineEditor::VI_MOTIONS = T.let(T.unsafe(nil), Array)
604
-
605
- module Reline::Terminfo
606
- extend ::Fiddle
607
- extend ::Fiddle::CParser
608
- extend ::Fiddle::Importer
609
-
610
- class << self
611
- def curses_dl; end
612
- def enabled?; end
613
- end
614
- end
615
-
616
- class Reline::Terminfo::TerminfoError < ::StandardError; end
617
-
618
- class Reline::Unicode
619
- class << self
620
- def calculate_width(str, allow_escape_code = T.unsafe(nil)); end
621
- def ed_transpose_words(line, byte_pointer); end
622
- def em_backward_word(line, byte_pointer); end
623
- def em_big_backward_word(line, byte_pointer); end
624
- def em_forward_word(line, byte_pointer); end
625
- def em_forward_word_with_capitalization(line, byte_pointer); end
626
- def escape_for_print(str); end
627
- def get_mbchar_byte_size_by_first_char(c); end
628
- def get_mbchar_width(mbchar); end
629
- def get_next_mbchar_size(line, byte_pointer); end
630
- def get_prev_mbchar_size(line, byte_pointer); end
631
- def split_by_width(str, max_width, encoding = T.unsafe(nil)); end
632
- def vi_backward_word(line, byte_pointer); end
633
- def vi_big_backward_word(line, byte_pointer); end
634
- def vi_big_forward_end_word(line, byte_pointer); end
635
- def vi_big_forward_word(line, byte_pointer); end
636
- def vi_first_print(line); end
637
- def vi_forward_end_word(line, byte_pointer); end
638
- def vi_forward_word(line, byte_pointer, drop_terminate_spaces = T.unsafe(nil)); end
639
- end
640
- end
641
-
642
- Reline::Unicode::CSI_REGEXP = T.let(T.unsafe(nil), Regexp)
643
- Reline::Unicode::CSI_REGEXP_INDEX = T.let(T.unsafe(nil), Integer)
644
- class Reline::Unicode::EastAsianWidth; end
645
- Reline::Unicode::EastAsianWidth::TYPE_A = T.let(T.unsafe(nil), Regexp)
646
- Reline::Unicode::EastAsianWidth::TYPE_F = T.let(T.unsafe(nil), Regexp)
647
- Reline::Unicode::EastAsianWidth::TYPE_H = T.let(T.unsafe(nil), Regexp)
648
- Reline::Unicode::EastAsianWidth::TYPE_N = T.let(T.unsafe(nil), Regexp)
649
- Reline::Unicode::EastAsianWidth::TYPE_NA = T.let(T.unsafe(nil), Regexp)
650
- Reline::Unicode::EastAsianWidth::TYPE_W = T.let(T.unsafe(nil), Regexp)
651
- Reline::Unicode::EscapedChars = T.let(T.unsafe(nil), Array)
652
- Reline::Unicode::EscapedPairs = T.let(T.unsafe(nil), Hash)
653
- Reline::Unicode::GRAPHEME_CLUSTER_INDEX = T.let(T.unsafe(nil), Integer)
654
- Reline::Unicode::MBCharWidthRE = T.let(T.unsafe(nil), Regexp)
655
- Reline::Unicode::NON_PRINTING_END = T.let(T.unsafe(nil), String)
656
- Reline::Unicode::NON_PRINTING_END_INDEX = T.let(T.unsafe(nil), Integer)
657
- Reline::Unicode::NON_PRINTING_START = T.let(T.unsafe(nil), String)
658
- Reline::Unicode::NON_PRINTING_START_INDEX = T.let(T.unsafe(nil), Integer)
659
- Reline::Unicode::OSC_REGEXP = T.let(T.unsafe(nil), Regexp)
660
- Reline::Unicode::OSC_REGEXP_INDEX = T.let(T.unsafe(nil), Integer)
661
- Reline::Unicode::WIDTH_SCANNER = T.let(T.unsafe(nil), Regexp)
662
- Reline::VERSION = T.let(T.unsafe(nil), String)