esquema 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -1
- data/CHANGELOG.md +9 -1
- data/README.md +8 -2
- data/lib/esquema/builder.rb +73 -28
- data/lib/esquema/configuration.rb +2 -1
- data/lib/esquema/keyword_validator.rb +98 -0
- data/lib/esquema/model.rb +4 -0
- data/lib/esquema/property.rb +185 -26
- data/lib/esquema/schema_enhancer.rb +55 -30
- data/lib/esquema/type_caster.rb +16 -4
- data/lib/esquema/version.rb +1 -1
- data/lib/esquema/virtual_column.rb +46 -0
- data/lib/esquema.rb +7 -1
- data/lib/generators/esquema/install/install_generator.rb +1 -0
- data/sorbet/config +4 -0
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/activemodel.rbi +89 -0
- data/sorbet/rbi/annotations/activerecord.rbi +92 -0
- data/sorbet/rbi/annotations/activesupport.rbi +421 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/activemodel@7.1.3.rbi +8 -0
- data/sorbet/rbi/gems/activerecord@7.1.3.rbi +8 -0
- data/sorbet/rbi/gems/activesupport@7.1.3.rbi +192 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
- data/sorbet/rbi/gems/base64@0.2.0.rbi +8 -0
- data/sorbet/rbi/gems/bigdecimal@3.1.6.rbi +8 -0
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +3606 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +3426 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +8 -0
- data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +8 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +1130 -0
- data/sorbet/rbi/gems/drb@2.2.0.rbi +1272 -0
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +145 -0
- data/sorbet/rbi/gems/i18n@1.14.1.rbi +8 -0
- data/sorbet/rbi/gems/json@2.7.1.rbi +1553 -0
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +272 -0
- data/sorbet/rbi/gems/minitest@5.22.2.rbi +8 -0
- data/sorbet/rbi/gems/mutex_m@0.2.0.rbi +8 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
- data/sorbet/rbi/gems/parallel@1.24.0.rbi +280 -0
- data/sorbet/rbi/gems/parser@3.3.0.5.rbi +5472 -0
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
- data/sorbet/rbi/gems/prism@0.24.0.rbi +31040 -0
- data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +1150 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +10075 -0
- data/sorbet/rbi/gems/racc@1.7.3.rbi +157 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
- data/sorbet/rbi/gems/rake@13.1.0.rbi +3027 -0
- data/sorbet/rbi/gems/rbi@0.1.9.rbi +3006 -0
- data/sorbet/rbi/gems/regexp_parser@2.9.0.rbi +3771 -0
- data/sorbet/rbi/gems/rexml@3.2.6.rbi +4781 -0
- data/sorbet/rbi/gems/rspec-core@3.13.0.rbi +10978 -0
- data/sorbet/rbi/gems/rspec-expectations@3.13.0.rbi +8153 -0
- data/sorbet/rbi/gems/rspec-mocks@3.13.0.rbi +5340 -0
- data/sorbet/rbi/gems/rspec-support@3.13.0.rbi +1629 -0
- data/sorbet/rbi/gems/rspec@3.13.0.rbi +82 -0
- data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7006 -0
- data/sorbet/rbi/gems/rubocop@1.60.2.rbi +57383 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
- data/sorbet/rbi/gems/sqlite3@1.7.2.rbi +1691 -0
- data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23133 -0
- data/sorbet/rbi/gems/tapioca@0.12.0.rbi +3510 -0
- data/sorbet/rbi/gems/thor@1.3.0.rbi +4345 -0
- data/sorbet/rbi/gems/timeout@0.4.1.rbi +142 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +8 -0
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
- data/sorbet/rbi/gems/yard@0.9.34.rbi +18219 -0
- data/sorbet/rbi/todo.rbi +20 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +72 -10
- data/esquema.gemspec +0 -38
@@ -0,0 +1,1150 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `pry-byebug` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem pry-byebug`.
|
6
|
+
|
7
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#5
|
8
|
+
module Byebug
|
9
|
+
extend ::Byebug::Helpers::ReflectionHelper
|
10
|
+
|
11
|
+
# source://byebug/11.1.3/lib/byebug/core.rb#31
|
12
|
+
def displays; end
|
13
|
+
|
14
|
+
# source://byebug/11.1.3/lib/byebug/core.rb#31
|
15
|
+
def displays=(_arg0); end
|
16
|
+
|
17
|
+
# source://byebug/11.1.3/lib/byebug/core.rb#25
|
18
|
+
def init_file; end
|
19
|
+
|
20
|
+
# source://byebug/11.1.3/lib/byebug/core.rb#25
|
21
|
+
def init_file=(_arg0); end
|
22
|
+
|
23
|
+
# source://byebug/11.1.3/lib/byebug/core.rb#41
|
24
|
+
def mode; end
|
25
|
+
|
26
|
+
# source://byebug/11.1.3/lib/byebug/core.rb#41
|
27
|
+
def mode=(_arg0); end
|
28
|
+
|
29
|
+
# source://byebug/11.1.3/lib/byebug/core.rb#52
|
30
|
+
def run_init_script; end
|
31
|
+
|
32
|
+
private
|
33
|
+
|
34
|
+
def add_catchpoint(_arg0); end
|
35
|
+
def breakpoints; end
|
36
|
+
def catchpoints; end
|
37
|
+
def contexts; end
|
38
|
+
def current_context; end
|
39
|
+
def debug_load(*_arg0); end
|
40
|
+
def lock; end
|
41
|
+
def post_mortem=(_arg0); end
|
42
|
+
def post_mortem?; end
|
43
|
+
def raised_exception; end
|
44
|
+
|
45
|
+
# source://byebug/11.1.3/lib/byebug/core.rb#102
|
46
|
+
def rc_dirs; end
|
47
|
+
|
48
|
+
# source://byebug/11.1.3/lib/byebug/core.rb#91
|
49
|
+
def run_rc_file(rc_file); end
|
50
|
+
|
51
|
+
def start; end
|
52
|
+
def started?; end
|
53
|
+
def stop; end
|
54
|
+
def stoppable?; end
|
55
|
+
def thread_context(_arg0); end
|
56
|
+
def tracing=(_arg0); end
|
57
|
+
def tracing?; end
|
58
|
+
def unlock; end
|
59
|
+
def verbose=(_arg0); end
|
60
|
+
def verbose?; end
|
61
|
+
|
62
|
+
class << self
|
63
|
+
# source://byebug/11.1.3/lib/byebug/remote.rb#25
|
64
|
+
def actual_control_port; end
|
65
|
+
|
66
|
+
# source://byebug/11.1.3/lib/byebug/remote.rb#20
|
67
|
+
def actual_port; end
|
68
|
+
|
69
|
+
def add_catchpoint(_arg0); end
|
70
|
+
|
71
|
+
# source://byebug/11.1.3/lib/byebug/attacher.rb#10
|
72
|
+
def attach; end
|
73
|
+
|
74
|
+
def breakpoints; end
|
75
|
+
def catchpoints; end
|
76
|
+
def contexts; end
|
77
|
+
def current_context; end
|
78
|
+
def debug_load(*_arg0); end
|
79
|
+
|
80
|
+
# source://byebug/11.1.3/lib/byebug/core.rb#76
|
81
|
+
def handle_post_mortem; end
|
82
|
+
|
83
|
+
# source://byebug/11.1.3/lib/byebug/remote.rb#32
|
84
|
+
def interrupt; end
|
85
|
+
|
86
|
+
# source://byebug/11.1.3/lib/byebug/core.rb#61
|
87
|
+
def load_settings; end
|
88
|
+
|
89
|
+
def lock; end
|
90
|
+
|
91
|
+
# source://byebug/11.1.3/lib/byebug/remote.rb#59
|
92
|
+
def parse_host_and_port(host_port_spec); end
|
93
|
+
|
94
|
+
def post_mortem=(_arg0); end
|
95
|
+
def post_mortem?; end
|
96
|
+
def raised_exception; end
|
97
|
+
|
98
|
+
# source://byebug/11.1.3/lib/byebug/attacher.rb#21
|
99
|
+
def spawn(host = T.unsafe(nil), port = T.unsafe(nil)); end
|
100
|
+
|
101
|
+
def start; end
|
102
|
+
|
103
|
+
# source://byebug/11.1.3/lib/byebug/remote.rb#55
|
104
|
+
def start_client(host = T.unsafe(nil), port = T.unsafe(nil)); end
|
105
|
+
|
106
|
+
# source://byebug/11.1.3/lib/byebug/remote.rb#48
|
107
|
+
def start_control(host = T.unsafe(nil), port = T.unsafe(nil)); end
|
108
|
+
|
109
|
+
# source://byebug/11.1.3/lib/byebug/remote.rb#39
|
110
|
+
def start_server(host = T.unsafe(nil), port = T.unsafe(nil)); end
|
111
|
+
|
112
|
+
def started?; end
|
113
|
+
def stop; end
|
114
|
+
def stoppable?; end
|
115
|
+
def thread_context(_arg0); end
|
116
|
+
def tracing=(_arg0); end
|
117
|
+
def tracing?; end
|
118
|
+
def unlock; end
|
119
|
+
def verbose=(_arg0); end
|
120
|
+
def verbose?; end
|
121
|
+
|
122
|
+
# source://byebug/11.1.3/lib/byebug/remote.rb#17
|
123
|
+
def wait_connection; end
|
124
|
+
|
125
|
+
# source://byebug/11.1.3/lib/byebug/remote.rb#17
|
126
|
+
def wait_connection=(_arg0); end
|
127
|
+
|
128
|
+
private
|
129
|
+
|
130
|
+
# source://byebug/11.1.3/lib/byebug/remote.rb#66
|
131
|
+
def client; end
|
132
|
+
|
133
|
+
# source://byebug/11.1.3/lib/byebug/remote.rb#76
|
134
|
+
def control; end
|
135
|
+
|
136
|
+
# source://byebug/11.1.3/lib/byebug/remote.rb#70
|
137
|
+
def server; end
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
class Byebug::DebugThread < ::Thread
|
142
|
+
class << self
|
143
|
+
def inherited; end
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
# Extends raw byebug's processor.
|
148
|
+
#
|
149
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#9
|
150
|
+
class Byebug::PryProcessor < ::Byebug::CommandProcessor
|
151
|
+
# Called when a breakpoint is hit. Note that `at_line`` is called
|
152
|
+
# inmediately after with the context's `stop_reason == :breakpoint`, so we
|
153
|
+
# must not resume the pry instance here
|
154
|
+
#
|
155
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#80
|
156
|
+
def at_breakpoint(breakpoint); end
|
157
|
+
|
158
|
+
# Called when the debugger wants to stop at a regular line
|
159
|
+
#
|
160
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#64
|
161
|
+
def at_line; end
|
162
|
+
|
163
|
+
# Called when the debugger wants to stop right before a method return
|
164
|
+
#
|
165
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#71
|
166
|
+
def at_return(_return_value); end
|
167
|
+
|
168
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
169
|
+
def bold(*args, **_arg1, &block); end
|
170
|
+
|
171
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
172
|
+
def output(*args, **_arg1, &block); end
|
173
|
+
|
174
|
+
# Set up a number of navigational commands to be performed by Byebug.
|
175
|
+
#
|
176
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#45
|
177
|
+
def perform(action, options = T.unsafe(nil)); end
|
178
|
+
|
179
|
+
# Returns the value of attribute pry.
|
180
|
+
#
|
181
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#10
|
182
|
+
def pry; end
|
183
|
+
|
184
|
+
# Sets the attribute pry
|
185
|
+
#
|
186
|
+
# @param value the value to set the attribute pry to.
|
187
|
+
#
|
188
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#10
|
189
|
+
def pry=(_arg0); end
|
190
|
+
|
191
|
+
# Wrap a Pry REPL to catch navigational commands and act on them.
|
192
|
+
#
|
193
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#26
|
194
|
+
def run(&_block); end
|
195
|
+
|
196
|
+
private
|
197
|
+
|
198
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#93
|
199
|
+
def n_hits(breakpoint); end
|
200
|
+
|
201
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#114
|
202
|
+
def perform_backtrace(_options); end
|
203
|
+
|
204
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#142
|
205
|
+
def perform_down(options); end
|
206
|
+
|
207
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#130
|
208
|
+
def perform_finish(*_arg0); end
|
209
|
+
|
210
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#150
|
211
|
+
def perform_frame(options); end
|
212
|
+
|
213
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#120
|
214
|
+
def perform_next(options); end
|
215
|
+
|
216
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#125
|
217
|
+
def perform_step(options); end
|
218
|
+
|
219
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#134
|
220
|
+
def perform_up(options); end
|
221
|
+
|
222
|
+
# Resume an existing Pry REPL at the paused point.
|
223
|
+
#
|
224
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#102
|
225
|
+
def resume_pry; end
|
226
|
+
|
227
|
+
class << self
|
228
|
+
# source://pry-byebug//lib/byebug/processors/pry_processor.rb#16
|
229
|
+
def start; end
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
class Byebug::ThreadsTable; end
|
234
|
+
|
235
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#3
|
236
|
+
class Pry
|
237
|
+
extend ::Forwardable
|
238
|
+
|
239
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#81
|
240
|
+
def initialize(options = T.unsafe(nil)); end
|
241
|
+
|
242
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#212
|
243
|
+
def add_sticky_local(name, &block); end
|
244
|
+
|
245
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#35
|
246
|
+
def backtrace; end
|
247
|
+
|
248
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#35
|
249
|
+
def backtrace=(_arg0); end
|
250
|
+
|
251
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#32
|
252
|
+
def binding_stack; end
|
253
|
+
|
254
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#32
|
255
|
+
def binding_stack=(_arg0); end
|
256
|
+
|
257
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
258
|
+
def color(*args, **_arg1, &block); end
|
259
|
+
|
260
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
261
|
+
def color=(*args, **_arg1, &block); end
|
262
|
+
|
263
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
264
|
+
def commands(*args, **_arg1, &block); end
|
265
|
+
|
266
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
267
|
+
def commands=(*args, **_arg1, &block); end
|
268
|
+
|
269
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#145
|
270
|
+
def complete(str); end
|
271
|
+
|
272
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#50
|
273
|
+
def config; end
|
274
|
+
|
275
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#124
|
276
|
+
def current_binding; end
|
277
|
+
|
278
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#124
|
279
|
+
def current_context; end
|
280
|
+
|
281
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#33
|
282
|
+
def custom_completions; end
|
283
|
+
|
284
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#33
|
285
|
+
def custom_completions=(_arg0); end
|
286
|
+
|
287
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
288
|
+
def editor(*args, **_arg1, &block); end
|
289
|
+
|
290
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
291
|
+
def editor=(*args, **_arg1, &block); end
|
292
|
+
|
293
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#255
|
294
|
+
def eval(line, options = T.unsafe(nil)); end
|
295
|
+
|
296
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#34
|
297
|
+
def eval_string; end
|
298
|
+
|
299
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#34
|
300
|
+
def eval_string=(_arg0); end
|
301
|
+
|
302
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#286
|
303
|
+
def evaluate_ruby(code); end
|
304
|
+
|
305
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
306
|
+
def exception_handler(*args, **_arg1, &block); end
|
307
|
+
|
308
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
309
|
+
def exception_handler=(*args, **_arg1, &block); end
|
310
|
+
|
311
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#394
|
312
|
+
def exec_hook(name, *args, &block); end
|
313
|
+
|
314
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#42
|
315
|
+
def exit_value; end
|
316
|
+
|
317
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
318
|
+
def extra_sticky_locals(*args, **_arg1, &block); end
|
319
|
+
|
320
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
321
|
+
def extra_sticky_locals=(*args, **_arg1, &block); end
|
322
|
+
|
323
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
324
|
+
def hooks(*args, **_arg1, &block); end
|
325
|
+
|
326
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
327
|
+
def hooks=(*args, **_arg1, &block); end
|
328
|
+
|
329
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#173
|
330
|
+
def inject_local(name, value, binding); end
|
331
|
+
|
332
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#201
|
333
|
+
def inject_sticky_locals!; end
|
334
|
+
|
335
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
336
|
+
def input(*args, **_arg1, &block); end
|
337
|
+
|
338
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
339
|
+
def input=(*args, **_arg1, &block); end
|
340
|
+
|
341
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#45
|
342
|
+
def input_ring; end
|
343
|
+
|
344
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#39
|
345
|
+
def last_dir; end
|
346
|
+
|
347
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#39
|
348
|
+
def last_dir=(_arg0); end
|
349
|
+
|
350
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#41
|
351
|
+
def last_exception; end
|
352
|
+
|
353
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#418
|
354
|
+
def last_exception=(exception); end
|
355
|
+
|
356
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#38
|
357
|
+
def last_file; end
|
358
|
+
|
359
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#38
|
360
|
+
def last_file=(_arg0); end
|
361
|
+
|
362
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#37
|
363
|
+
def last_result; end
|
364
|
+
|
365
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#37
|
366
|
+
def last_result=(_arg0); end
|
367
|
+
|
368
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#440
|
369
|
+
def last_result_is_exception?; end
|
370
|
+
|
371
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#190
|
372
|
+
def memory_size; end
|
373
|
+
|
374
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#195
|
375
|
+
def memory_size=(size); end
|
376
|
+
|
377
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#538
|
378
|
+
def output; end
|
379
|
+
|
380
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
381
|
+
def output=(*args, **_arg1, &block); end
|
382
|
+
|
383
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#48
|
384
|
+
def output_ring; end
|
385
|
+
|
386
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#530
|
387
|
+
def pager; end
|
388
|
+
|
389
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
390
|
+
def pager=(*args, **_arg1, &block); end
|
391
|
+
|
392
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#522
|
393
|
+
def pop_prompt; end
|
394
|
+
|
395
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
396
|
+
def print(*args, **_arg1, &block); end
|
397
|
+
|
398
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
399
|
+
def print=(*args, **_arg1, &block); end
|
400
|
+
|
401
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#325
|
402
|
+
def process_command(val); end
|
403
|
+
|
404
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#360
|
405
|
+
def process_command_safely(val); end
|
406
|
+
|
407
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#101
|
408
|
+
def prompt; end
|
409
|
+
|
410
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#108
|
411
|
+
def prompt=(new_prompt); end
|
412
|
+
|
413
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#131
|
414
|
+
def push_binding(object); end
|
415
|
+
|
416
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#118
|
417
|
+
def push_initial_binding(target = T.unsafe(nil)); end
|
418
|
+
|
419
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#506
|
420
|
+
def push_prompt(new_prompt); end
|
421
|
+
|
422
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#592
|
423
|
+
def quiet?; end
|
424
|
+
|
425
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#582
|
426
|
+
def raise_up(*args); end
|
427
|
+
|
428
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#586
|
429
|
+
def raise_up!(*args); end
|
430
|
+
|
431
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#554
|
432
|
+
def raise_up_common(force, *args); end
|
433
|
+
|
434
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#282
|
435
|
+
def repl(target = T.unsafe(nil)); end
|
436
|
+
|
437
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#231
|
438
|
+
def reset_eval_string; end
|
439
|
+
|
440
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#375
|
441
|
+
def run_command(val); end
|
442
|
+
|
443
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#453
|
444
|
+
def select_prompt; end
|
445
|
+
|
446
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#409
|
447
|
+
def set_last_result(result, code = T.unsafe(nil)); end
|
448
|
+
|
449
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#447
|
450
|
+
def should_print?; end
|
451
|
+
|
452
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#298
|
453
|
+
def show_result(result); end
|
454
|
+
|
455
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#216
|
456
|
+
def sticky_locals; end
|
457
|
+
|
458
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#36
|
459
|
+
def suppress_output; end
|
460
|
+
|
461
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#36
|
462
|
+
def suppress_output=(_arg0); end
|
463
|
+
|
464
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#428
|
465
|
+
def update_input_history(code); end
|
466
|
+
|
467
|
+
private
|
468
|
+
|
469
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#680
|
470
|
+
def ensure_correct_encoding!(val); end
|
471
|
+
|
472
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#688
|
473
|
+
def generate_prompt(prompt_proc, conf); end
|
474
|
+
|
475
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#598
|
476
|
+
def handle_line(line, options); end
|
477
|
+
|
478
|
+
# source://pry/0.14.2/lib/pry/pry_instance.rb#697
|
479
|
+
def prompt_stack; end
|
480
|
+
|
481
|
+
class << self
|
482
|
+
# source://pry/0.14.2/lib/pry/code.rb#12
|
483
|
+
def Code(obj); end
|
484
|
+
|
485
|
+
# source://pry/0.14.2/lib/pry/method.rb#9
|
486
|
+
def Method(obj); end
|
487
|
+
|
488
|
+
# source://pry/0.14.2/lib/pry/wrapped_module.rb#7
|
489
|
+
def WrappedModule(obj); end
|
490
|
+
|
491
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#294
|
492
|
+
def auto_resize!; end
|
493
|
+
|
494
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#347
|
495
|
+
def binding_for(target); end
|
496
|
+
|
497
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#22
|
498
|
+
def cli; end
|
499
|
+
|
500
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#22
|
501
|
+
def cli=(_arg0); end
|
502
|
+
|
503
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
504
|
+
def color(*args, **_arg1, &block); end
|
505
|
+
|
506
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
507
|
+
def color=(*args, **_arg1, &block); end
|
508
|
+
|
509
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
510
|
+
def commands(*args, **_arg1, &block); end
|
511
|
+
|
512
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
513
|
+
def commands=(*args, **_arg1, &block); end
|
514
|
+
|
515
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#25
|
516
|
+
def config; end
|
517
|
+
|
518
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#25
|
519
|
+
def config=(_arg0); end
|
520
|
+
|
521
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#46
|
522
|
+
def configure; end
|
523
|
+
|
524
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#380
|
525
|
+
def critical_section; end
|
526
|
+
|
527
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#63
|
528
|
+
def current; end
|
529
|
+
|
530
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#19
|
531
|
+
def current_line; end
|
532
|
+
|
533
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#19
|
534
|
+
def current_line=(_arg0); end
|
535
|
+
|
536
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#18
|
537
|
+
def custom_completions; end
|
538
|
+
|
539
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#18
|
540
|
+
def custom_completions=(_arg0); end
|
541
|
+
|
542
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
543
|
+
def editor(*args, **_arg1, &block); end
|
544
|
+
|
545
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
546
|
+
def editor=(*args, **_arg1, &block); end
|
547
|
+
|
548
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#21
|
549
|
+
def eval_path; end
|
550
|
+
|
551
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#21
|
552
|
+
def eval_path=(_arg0); end
|
553
|
+
|
554
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
555
|
+
def exception_handler(*args, **_arg1, &block); end
|
556
|
+
|
557
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
558
|
+
def exception_handler=(*args, **_arg1, &block); end
|
559
|
+
|
560
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
561
|
+
def extra_sticky_locals(*args, **_arg1, &block); end
|
562
|
+
|
563
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
564
|
+
def extra_sticky_locals=(*args, **_arg1, &block); end
|
565
|
+
|
566
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#139
|
567
|
+
def final_session_setup; end
|
568
|
+
|
569
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
570
|
+
def history(*args, **_arg1, &block); end
|
571
|
+
|
572
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
573
|
+
def history=(*args, **_arg1, &block); end
|
574
|
+
|
575
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
576
|
+
def hooks(*args, **_arg1, &block); end
|
577
|
+
|
578
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
579
|
+
def hooks=(*args, **_arg1, &block); end
|
580
|
+
|
581
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#375
|
582
|
+
def in_critical_section?; end
|
583
|
+
|
584
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#338
|
585
|
+
def init; end
|
586
|
+
|
587
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#257
|
588
|
+
def initial_session?; end
|
589
|
+
|
590
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#129
|
591
|
+
def initial_session_setup; end
|
592
|
+
|
593
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
594
|
+
def input(*args, **_arg1, &block); end
|
595
|
+
|
596
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
597
|
+
def input=(*args, **_arg1, &block); end
|
598
|
+
|
599
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#24
|
600
|
+
def last_internal_error; end
|
601
|
+
|
602
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#24
|
603
|
+
def last_internal_error=(_arg0); end
|
604
|
+
|
605
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#20
|
606
|
+
def line_buffer; end
|
607
|
+
|
608
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#20
|
609
|
+
def line_buffer=(_arg0); end
|
610
|
+
|
611
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#69
|
612
|
+
def load_file_at_toplevel(file); end
|
613
|
+
|
614
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#202
|
615
|
+
def load_file_through_repl(file_name); end
|
616
|
+
|
617
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#251
|
618
|
+
def load_history; end
|
619
|
+
|
620
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#77
|
621
|
+
def load_rc_files; end
|
622
|
+
|
623
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#101
|
624
|
+
def load_requires; end
|
625
|
+
|
626
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#109
|
627
|
+
def load_traps; end
|
628
|
+
|
629
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#113
|
630
|
+
def load_win32console; end
|
631
|
+
|
632
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#55
|
633
|
+
def main; end
|
634
|
+
|
635
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
636
|
+
def memory_size(*args, **_arg1, &block); end
|
637
|
+
|
638
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
639
|
+
def memory_size=(*args, **_arg1, &block); end
|
640
|
+
|
641
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
642
|
+
def output(*args, **_arg1, &block); end
|
643
|
+
|
644
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
645
|
+
def output=(*args, **_arg1, &block); end
|
646
|
+
|
647
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
648
|
+
def pager(*args, **_arg1, &block); end
|
649
|
+
|
650
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
651
|
+
def pager=(*args, **_arg1, &block); end
|
652
|
+
|
653
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
654
|
+
def print(*args, **_arg1, &block); end
|
655
|
+
|
656
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
657
|
+
def print=(*args, **_arg1, &block); end
|
658
|
+
|
659
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
660
|
+
def prompt(*args, **_arg1, &block); end
|
661
|
+
|
662
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
663
|
+
def prompt=(*args, **_arg1, &block); end
|
664
|
+
|
665
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#23
|
666
|
+
def quiet; end
|
667
|
+
|
668
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#23
|
669
|
+
def quiet=(_arg0); end
|
670
|
+
|
671
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#86
|
672
|
+
def rc_files_to_load; end
|
673
|
+
|
674
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#94
|
675
|
+
def real_path_to(file); end
|
676
|
+
|
677
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#326
|
678
|
+
def reset_defaults; end
|
679
|
+
|
680
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#277
|
681
|
+
def run_command(command_string, options = T.unsafe(nil)); end
|
682
|
+
|
683
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#156
|
684
|
+
def start(target = T.unsafe(nil), options = T.unsafe(nil)); end
|
685
|
+
|
686
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#354
|
687
|
+
def toplevel_binding; end
|
688
|
+
|
689
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#372
|
690
|
+
def toplevel_binding=(_arg0); end
|
691
|
+
|
692
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#225
|
693
|
+
def view_clip(obj, options = T.unsafe(nil)); end
|
694
|
+
|
695
|
+
private
|
696
|
+
|
697
|
+
# source://pry/0.14.2/lib/pry/pry_class.rb#388
|
698
|
+
def mutex_available?; end
|
699
|
+
end
|
700
|
+
end
|
701
|
+
|
702
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#4
|
703
|
+
module Pry::Byebug; end
|
704
|
+
|
705
|
+
# Wrapper for Byebug.breakpoints that respects our Processor and has better
|
706
|
+
# failure behavior. Acts as an Enumerable.
|
707
|
+
#
|
708
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#9
|
709
|
+
module Pry::Byebug::Breakpoints
|
710
|
+
extend ::Enumerable
|
711
|
+
extend ::Pry::Byebug::Breakpoints
|
712
|
+
|
713
|
+
# Adds a file breakpoint.
|
714
|
+
#
|
715
|
+
# @raise [ArgumentError]
|
716
|
+
#
|
717
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#63
|
718
|
+
def add_file(file, line, expression = T.unsafe(nil)); end
|
719
|
+
|
720
|
+
# Adds a method breakpoint.
|
721
|
+
#
|
722
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#51
|
723
|
+
def add_method(method, expression = T.unsafe(nil)); end
|
724
|
+
|
725
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#44
|
726
|
+
def breakpoints; end
|
727
|
+
|
728
|
+
# Changes the conditional expression for a breakpoint.
|
729
|
+
#
|
730
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#78
|
731
|
+
def change(id, expression = T.unsafe(nil)); end
|
732
|
+
|
733
|
+
# Deletes an existing breakpoint with the given ID.
|
734
|
+
#
|
735
|
+
# @raise [ArgumentError]
|
736
|
+
#
|
737
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#89
|
738
|
+
def delete(id); end
|
739
|
+
|
740
|
+
# Deletes all breakpoints.
|
741
|
+
#
|
742
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#100
|
743
|
+
def delete_all; end
|
744
|
+
|
745
|
+
# Disables a breakpoint with the given ID.
|
746
|
+
#
|
747
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#115
|
748
|
+
def disable(id); end
|
749
|
+
|
750
|
+
# Disables all breakpoints.
|
751
|
+
#
|
752
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#122
|
753
|
+
def disable_all; end
|
754
|
+
|
755
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#136
|
756
|
+
def each(&block); end
|
757
|
+
|
758
|
+
# Enables a disabled breakpoint with the given ID.
|
759
|
+
#
|
760
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#108
|
761
|
+
def enable(id); end
|
762
|
+
|
763
|
+
# @raise [ArgumentError]
|
764
|
+
#
|
765
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#144
|
766
|
+
def find_by_id(id); end
|
767
|
+
|
768
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#140
|
769
|
+
def last; end
|
770
|
+
|
771
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#132
|
772
|
+
def size; end
|
773
|
+
|
774
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#128
|
775
|
+
def to_a; end
|
776
|
+
|
777
|
+
private
|
778
|
+
|
779
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#153
|
780
|
+
def change_status(id, enabled = T.unsafe(nil)); end
|
781
|
+
|
782
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#159
|
783
|
+
def validate_expression(exp); end
|
784
|
+
end
|
785
|
+
|
786
|
+
# Breakpoint in a file:line location
|
787
|
+
#
|
788
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#16
|
789
|
+
class Pry::Byebug::Breakpoints::FileBreakpoint < ::SimpleDelegator
|
790
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#17
|
791
|
+
def source_code; end
|
792
|
+
|
793
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#21
|
794
|
+
def to_s; end
|
795
|
+
end
|
796
|
+
|
797
|
+
# Breakpoint in a Class#method location
|
798
|
+
#
|
799
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#29
|
800
|
+
class Pry::Byebug::Breakpoints::MethodBreakpoint < ::SimpleDelegator
|
801
|
+
# @return [MethodBreakpoint] a new instance of MethodBreakpoint
|
802
|
+
#
|
803
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#30
|
804
|
+
def initialize(byebug_bp, method); end
|
805
|
+
|
806
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#35
|
807
|
+
def source_code; end
|
808
|
+
|
809
|
+
# source://pry-byebug//lib/pry/byebug/breakpoints.rb#39
|
810
|
+
def to_s; end
|
811
|
+
end
|
812
|
+
|
813
|
+
class Pry::REPL
|
814
|
+
extend ::Forwardable
|
815
|
+
|
816
|
+
# source://pry/0.14.2/lib/pry/repl.rb#22
|
817
|
+
def initialize(pry, options = T.unsafe(nil)); end
|
818
|
+
|
819
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
820
|
+
def input(*args, **_arg1, &block); end
|
821
|
+
|
822
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
823
|
+
def output(*args, **_arg1, &block); end
|
824
|
+
|
825
|
+
# source://pry/0.14.2/lib/pry/repl.rb#9
|
826
|
+
def pry; end
|
827
|
+
|
828
|
+
# source://pry/0.14.2/lib/pry/repl.rb#9
|
829
|
+
def pry=(_arg0); end
|
830
|
+
|
831
|
+
# source://pry/0.14.2/lib/pry/repl.rb#36
|
832
|
+
def start; end
|
833
|
+
|
834
|
+
private
|
835
|
+
|
836
|
+
# source://pry/0.14.2/lib/pry/repl.rb#237
|
837
|
+
def calculate_overhang(current_prompt, original_val, indented_val); end
|
838
|
+
|
839
|
+
# source://pry/0.14.2/lib/pry/repl.rb#205
|
840
|
+
def coolline_available?; end
|
841
|
+
|
842
|
+
# source://pry/0.14.2/lib/pry/repl.rb#84
|
843
|
+
def epilogue; end
|
844
|
+
|
845
|
+
# source://pry/0.14.2/lib/pry/repl.rb#127
|
846
|
+
def handle_read_errors; end
|
847
|
+
|
848
|
+
# source://pry/0.14.2/lib/pry/repl.rb#195
|
849
|
+
def input_readline(*args); end
|
850
|
+
|
851
|
+
# source://pry/0.14.2/lib/pry/repl.rb#217
|
852
|
+
def piping?; end
|
853
|
+
|
854
|
+
# source://pry/0.14.2/lib/pry/repl.rb#47
|
855
|
+
def prologue; end
|
856
|
+
|
857
|
+
# source://pry/0.14.2/lib/pry/repl.rb#93
|
858
|
+
def read; end
|
859
|
+
|
860
|
+
# source://pry/0.14.2/lib/pry/repl.rb#169
|
861
|
+
def read_line(current_prompt); end
|
862
|
+
|
863
|
+
# source://pry/0.14.2/lib/pry/repl.rb#201
|
864
|
+
def readline_available?; end
|
865
|
+
|
866
|
+
# source://pry/0.14.2/lib/pry/repl.rb#66
|
867
|
+
def repl; end
|
868
|
+
|
869
|
+
# source://pry/0.14.2/lib/pry/repl.rb#224
|
870
|
+
def set_readline_output; end
|
871
|
+
|
872
|
+
class << self
|
873
|
+
# source://pry-byebug//lib/pry-byebug/pry_ext.rb#8
|
874
|
+
def start(options = T.unsafe(nil)); end
|
875
|
+
|
876
|
+
# source://pry-byebug//lib/pry-byebug/pry_ext.rb#8
|
877
|
+
def start_with_pry_byebug(options = T.unsafe(nil)); end
|
878
|
+
|
879
|
+
# source://pry/0.14.2/lib/pry/repl.rb#14
|
880
|
+
def start_without_pry_byebug(options); end
|
881
|
+
end
|
882
|
+
end
|
883
|
+
|
884
|
+
# Main container module for Pry-Byebug functionality
|
885
|
+
#
|
886
|
+
# source://pry-byebug//lib/pry-byebug/helpers/location.rb#3
|
887
|
+
module PryByebug
|
888
|
+
# Reference to currently running pry-remote server. Used by the processor.
|
889
|
+
#
|
890
|
+
# source://pry-byebug//lib/pry-byebug/base.rb#10
|
891
|
+
def current_remote_server; end
|
892
|
+
|
893
|
+
# Reference to currently running pry-remote server. Used by the processor.
|
894
|
+
#
|
895
|
+
# source://pry-byebug//lib/pry-byebug/base.rb#10
|
896
|
+
def current_remote_server=(_arg0); end
|
897
|
+
|
898
|
+
private
|
899
|
+
|
900
|
+
# Ensures that a command is executed in a local file context.
|
901
|
+
#
|
902
|
+
# source://pry-byebug//lib/pry-byebug/base.rb#25
|
903
|
+
def check_file_context(target, msg = T.unsafe(nil)); end
|
904
|
+
|
905
|
+
# Checks that a target binding is in a local file context.
|
906
|
+
#
|
907
|
+
# source://pry-byebug//lib/pry-byebug/base.rb#17
|
908
|
+
def file_context?(target); end
|
909
|
+
|
910
|
+
class << self
|
911
|
+
# Ensures that a command is executed in a local file context.
|
912
|
+
#
|
913
|
+
# @raise [Pry::CommandError]
|
914
|
+
#
|
915
|
+
# source://pry-byebug//lib/pry-byebug/base.rb#25
|
916
|
+
def check_file_context(target, msg = T.unsafe(nil)); end
|
917
|
+
|
918
|
+
# Checks that a target binding is in a local file context.
|
919
|
+
#
|
920
|
+
# @return [Boolean]
|
921
|
+
#
|
922
|
+
# source://pry-byebug//lib/pry-byebug/base.rb#17
|
923
|
+
def file_context?(target); end
|
924
|
+
end
|
925
|
+
end
|
926
|
+
|
927
|
+
# Display the current stack
|
928
|
+
#
|
929
|
+
# source://pry-byebug//lib/pry-byebug/commands/backtrace.rb#9
|
930
|
+
class PryByebug::BacktraceCommand < ::Pry::ClassCommand
|
931
|
+
include ::PryByebug::Helpers::Navigation
|
932
|
+
|
933
|
+
# source://pry-byebug//lib/pry-byebug/commands/backtrace.rb#23
|
934
|
+
def process; end
|
935
|
+
end
|
936
|
+
|
937
|
+
# Add, show and remove breakpoints
|
938
|
+
#
|
939
|
+
# source://pry-byebug//lib/pry-byebug/commands/breakpoint.rb#12
|
940
|
+
class PryByebug::BreakCommand < ::Pry::ClassCommand
|
941
|
+
include ::PryByebug::Helpers::Breakpoints
|
942
|
+
include ::PryByebug::Helpers::Location
|
943
|
+
include ::PryByebug::Helpers::Multiline
|
944
|
+
|
945
|
+
# source://pry-byebug//lib/pry-byebug/commands/breakpoint.rb#50
|
946
|
+
def options(opt); end
|
947
|
+
|
948
|
+
# source://pry-byebug//lib/pry-byebug/commands/breakpoint.rb#62
|
949
|
+
def process; end
|
950
|
+
|
951
|
+
private
|
952
|
+
|
953
|
+
# source://pry-byebug//lib/pry-byebug/commands/breakpoint.rb#111
|
954
|
+
def add_breakpoint(place, condition); end
|
955
|
+
|
956
|
+
# source://pry-byebug//lib/pry-byebug/commands/breakpoint.rb#93
|
957
|
+
def new_breakpoint; end
|
958
|
+
|
959
|
+
# source://pry-byebug//lib/pry-byebug/commands/breakpoint.rb#102
|
960
|
+
def option_to_method(option); end
|
961
|
+
|
962
|
+
# source://pry-byebug//lib/pry-byebug/commands/breakpoint.rb#106
|
963
|
+
def print_all; end
|
964
|
+
|
965
|
+
# source://pry-byebug//lib/pry-byebug/commands/breakpoint.rb#88
|
966
|
+
def process_condition; end
|
967
|
+
|
968
|
+
# source://pry-byebug//lib/pry-byebug/commands/breakpoint.rb#78
|
969
|
+
def process_delete; end
|
970
|
+
|
971
|
+
# source://pry-byebug//lib/pry-byebug/commands/breakpoint.rb#78
|
972
|
+
def process_delete_all; end
|
973
|
+
|
974
|
+
# source://pry-byebug//lib/pry-byebug/commands/breakpoint.rb#78
|
975
|
+
def process_disable; end
|
976
|
+
|
977
|
+
# source://pry-byebug//lib/pry-byebug/commands/breakpoint.rb#78
|
978
|
+
def process_disable_all; end
|
979
|
+
|
980
|
+
# source://pry-byebug//lib/pry-byebug/commands/breakpoint.rb#78
|
981
|
+
def process_enable; end
|
982
|
+
|
983
|
+
# source://pry-byebug//lib/pry-byebug/commands/breakpoint.rb#84
|
984
|
+
def process_show; end
|
985
|
+
end
|
986
|
+
|
987
|
+
# Continue program execution until the next breakpoint
|
988
|
+
#
|
989
|
+
# source://pry-byebug//lib/pry-byebug/commands/continue.rb#11
|
990
|
+
class PryByebug::ContinueCommand < ::Pry::ClassCommand
|
991
|
+
include ::PryByebug::Helpers::Navigation
|
992
|
+
include ::PryByebug::Helpers::Breakpoints
|
993
|
+
include ::PryByebug::Helpers::Location
|
994
|
+
|
995
|
+
# source://pry-byebug//lib/pry-byebug/commands/continue.rb#31
|
996
|
+
def process; end
|
997
|
+
end
|
998
|
+
|
999
|
+
# Travel down the frame stack
|
1000
|
+
#
|
1001
|
+
# source://pry-byebug//lib/pry-byebug/commands/down.rb#9
|
1002
|
+
class PryByebug::DownCommand < ::Pry::ClassCommand
|
1003
|
+
include ::PryByebug::Helpers::Navigation
|
1004
|
+
|
1005
|
+
# source://pry-byebug//lib/pry-byebug/commands/down.rb#27
|
1006
|
+
def process; end
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
# Exit pry REPL with Byebug.stop
|
1010
|
+
#
|
1011
|
+
# source://pry-byebug//lib/pry-byebug/commands/exit_all.rb#9
|
1012
|
+
class PryByebug::ExitAllCommand < ::Pry::Command::ExitAll
|
1013
|
+
# source://pry-byebug//lib/pry-byebug/commands/exit_all.rb#10
|
1014
|
+
def process; end
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
# Run until the end of current frame
|
1018
|
+
#
|
1019
|
+
# source://pry-byebug//lib/pry-byebug/commands/finish.rb#9
|
1020
|
+
class PryByebug::FinishCommand < ::Pry::ClassCommand
|
1021
|
+
include ::PryByebug::Helpers::Navigation
|
1022
|
+
|
1023
|
+
# source://pry-byebug//lib/pry-byebug/commands/finish.rb#20
|
1024
|
+
def process; end
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
# Move to a specific frame in the callstack
|
1028
|
+
#
|
1029
|
+
# source://pry-byebug//lib/pry-byebug/commands/frame.rb#9
|
1030
|
+
class PryByebug::FrameCommand < ::Pry::ClassCommand
|
1031
|
+
include ::PryByebug::Helpers::Navigation
|
1032
|
+
|
1033
|
+
# source://pry-byebug//lib/pry-byebug/commands/frame.rb#27
|
1034
|
+
def process; end
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
# source://pry-byebug//lib/pry-byebug/helpers/location.rb#4
|
1038
|
+
module PryByebug::Helpers; end
|
1039
|
+
|
1040
|
+
# Common helpers for breakpoint related commands
|
1041
|
+
#
|
1042
|
+
# source://pry-byebug//lib/pry-byebug/helpers/breakpoints.rb#10
|
1043
|
+
module PryByebug::Helpers::Breakpoints
|
1044
|
+
# Prints a message with bold font.
|
1045
|
+
#
|
1046
|
+
# source://pry-byebug//lib/pry-byebug/helpers/breakpoints.rb#21
|
1047
|
+
def bold_puts(msg); end
|
1048
|
+
|
1049
|
+
# Byebug's array of breakpoints.
|
1050
|
+
#
|
1051
|
+
# source://pry-byebug//lib/pry-byebug/helpers/breakpoints.rb#14
|
1052
|
+
def breakpoints; end
|
1053
|
+
|
1054
|
+
# Max width of breakpoints id column
|
1055
|
+
#
|
1056
|
+
# source://pry-byebug//lib/pry-byebug/helpers/breakpoints.rb#77
|
1057
|
+
def max_width; end
|
1058
|
+
|
1059
|
+
# Prints a header for the breakpoint list.
|
1060
|
+
#
|
1061
|
+
# source://pry-byebug//lib/pry-byebug/helpers/breakpoints.rb#63
|
1062
|
+
def print_breakpoints_header; end
|
1063
|
+
|
1064
|
+
# Print out full information about a breakpoint.
|
1065
|
+
#
|
1066
|
+
# Includes surrounding code at that point.
|
1067
|
+
#
|
1068
|
+
# source://pry-byebug//lib/pry-byebug/helpers/breakpoints.rb#30
|
1069
|
+
def print_full_breakpoint(breakpoint); end
|
1070
|
+
|
1071
|
+
# Print out concise information about a breakpoint.
|
1072
|
+
#
|
1073
|
+
# source://pry-byebug//lib/pry-byebug/helpers/breakpoints.rb#52
|
1074
|
+
def print_short_breakpoint(breakpoint); end
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
# Compatibility helper to handle source location
|
1078
|
+
#
|
1079
|
+
# source://pry-byebug//lib/pry-byebug/helpers/location.rb#8
|
1080
|
+
module PryByebug::Helpers::Location
|
1081
|
+
private
|
1082
|
+
|
1083
|
+
# Current file in the target binding. Used as the default breakpoint
|
1084
|
+
# location.
|
1085
|
+
#
|
1086
|
+
# source://pry-byebug//lib/pry-byebug/helpers/location.rb#15
|
1087
|
+
def current_file(source = T.unsafe(nil)); end
|
1088
|
+
|
1089
|
+
class << self
|
1090
|
+
# Current file in the target binding. Used as the default breakpoint
|
1091
|
+
# location.
|
1092
|
+
#
|
1093
|
+
# source://pry-byebug//lib/pry-byebug/helpers/location.rb#15
|
1094
|
+
def current_file(source = T.unsafe(nil)); end
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
# Helpers to help handling multiline inputs
|
1099
|
+
#
|
1100
|
+
# source://pry-byebug//lib/pry-byebug/helpers/multiline.rb#8
|
1101
|
+
module PryByebug::Helpers::Multiline
|
1102
|
+
# Returns true if we are in a multiline context and, as a side effect,
|
1103
|
+
# updates the partial evaluation string with the current input.
|
1104
|
+
#
|
1105
|
+
# Returns false otherwise
|
1106
|
+
#
|
1107
|
+
# source://pry-byebug//lib/pry-byebug/helpers/multiline.rb#15
|
1108
|
+
def check_multiline_context; end
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
# Helpers to aid breaking out of the REPL loop
|
1112
|
+
#
|
1113
|
+
# source://pry-byebug//lib/pry-byebug/helpers/navigation.rb#8
|
1114
|
+
module PryByebug::Helpers::Navigation
|
1115
|
+
# Breaks out of the REPL loop and signals tracer
|
1116
|
+
#
|
1117
|
+
# source://pry-byebug//lib/pry-byebug/helpers/navigation.rb#12
|
1118
|
+
def breakout_navigation(action, options = T.unsafe(nil)); end
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
# Run a number of lines and then stop again
|
1122
|
+
#
|
1123
|
+
# source://pry-byebug//lib/pry-byebug/commands/next.rb#10
|
1124
|
+
class PryByebug::NextCommand < ::Pry::ClassCommand
|
1125
|
+
include ::PryByebug::Helpers::Navigation
|
1126
|
+
include ::PryByebug::Helpers::Multiline
|
1127
|
+
|
1128
|
+
# source://pry-byebug//lib/pry-byebug/commands/next.rb#29
|
1129
|
+
def process; end
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
# Run a number of Ruby statements and then stop again
|
1133
|
+
#
|
1134
|
+
# source://pry-byebug//lib/pry-byebug/commands/step.rb#9
|
1135
|
+
class PryByebug::StepCommand < ::Pry::ClassCommand
|
1136
|
+
include ::PryByebug::Helpers::Navigation
|
1137
|
+
|
1138
|
+
# source://pry-byebug//lib/pry-byebug/commands/step.rb#26
|
1139
|
+
def process; end
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
# Travel up the frame stack
|
1143
|
+
#
|
1144
|
+
# source://pry-byebug//lib/pry-byebug/commands/up.rb#9
|
1145
|
+
class PryByebug::UpCommand < ::Pry::ClassCommand
|
1146
|
+
include ::PryByebug::Helpers::Navigation
|
1147
|
+
|
1148
|
+
# source://pry-byebug//lib/pry-byebug/commands/up.rb#27
|
1149
|
+
def process; end
|
1150
|
+
end
|