shotgrid_api_ruby 0.1.3.1 → 0.2.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  3. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  4. data/.github/workflows/test_and_publish.yml +4 -1
  5. data/.github/workflows/test_only.yml +5 -1
  6. data/.gitignore +3 -2
  7. data/.overcommit.yml +9 -0
  8. data/.rubocop.yml +2 -0
  9. data/.ruby-version +1 -1
  10. data/CHANGELOG.md +31 -3
  11. data/CODE_OF_CONDUCT.md +128 -0
  12. data/Gemfile +18 -0
  13. data/Gemfile.lock +264 -0
  14. data/Guardfile +2 -2
  15. data/bin/generate_and_add_documentation +1 -0
  16. data/bin/generate_sorbet_coverage +3 -0
  17. data/bin/prettirun +1 -1
  18. data/bin/sorbet_check +1 -0
  19. data/bin/tapioca +29 -0
  20. data/docs/ShotgridApiRuby/Auth/Validator.html +319 -0
  21. data/docs/ShotgridApiRuby/Auth.html +1079 -0
  22. data/docs/ShotgridApiRuby/Client.html +933 -0
  23. data/docs/ShotgridApiRuby/Entities/Params/TooComplexFiltersError.html +124 -0
  24. data/docs/ShotgridApiRuby/Entities/Params.html +1377 -0
  25. data/docs/ShotgridApiRuby/Entities/Schema.html +646 -0
  26. data/docs/ShotgridApiRuby/Entities/Summarize/Summary.html +401 -0
  27. data/docs/ShotgridApiRuby/Entities/Summarize.html +775 -0
  28. data/docs/ShotgridApiRuby/Entities.html +2461 -0
  29. data/docs/ShotgridApiRuby/Entity.html +935 -0
  30. data/docs/ShotgridApiRuby/Preferences.html +417 -0
  31. data/docs/ShotgridApiRuby/ServerInfo.html +415 -0
  32. data/docs/ShotgridApiRuby/ShotgridCallError.html +328 -0
  33. data/docs/ShotgridApiRuby/Types.html +136 -0
  34. data/docs/ShotgridApiRuby.html +307 -0
  35. data/docs/_index.html +253 -0
  36. data/docs/class_list.html +51 -0
  37. data/docs/css/common.css +1 -0
  38. data/docs/css/full_list.css +58 -0
  39. data/docs/css/style.css +497 -0
  40. data/docs/file.README.html +578 -0
  41. data/docs/file_list.html +56 -0
  42. data/docs/frames.html +17 -0
  43. data/docs/index.html +578 -0
  44. data/docs/js/app.js +314 -0
  45. data/docs/js/full_list.js +216 -0
  46. data/docs/js/jquery.js +4 -0
  47. data/docs/method_list.html +643 -0
  48. data/docs/top-level-namespace.html +110 -0
  49. data/lib/shotgrid_api_ruby/auth.rb +89 -33
  50. data/lib/shotgrid_api_ruby/client.rb +50 -7
  51. data/lib/shotgrid_api_ruby/entities/params.rb +304 -65
  52. data/lib/shotgrid_api_ruby/entities/schema.rb +18 -3
  53. data/lib/shotgrid_api_ruby/entities/summarize.rb +39 -7
  54. data/lib/shotgrid_api_ruby/entities.rb +118 -29
  55. data/lib/shotgrid_api_ruby/entity.rb +29 -12
  56. data/lib/shotgrid_api_ruby/preferences.rb +7 -1
  57. data/lib/shotgrid_api_ruby/server_info.rb +7 -1
  58. data/lib/shotgrid_api_ruby/shotgrid_call_error.rb +5 -1
  59. data/lib/shotgrid_api_ruby/types/auth_type.rb +23 -0
  60. data/lib/shotgrid_api_ruby/version.rb +2 -1
  61. data/lib/shotgrid_api_ruby.rb +20 -2
  62. data/shotgrid_api_ruby.gemspec +4 -11
  63. data/sorbet/config +6 -0
  64. data/sorbet/rbi/faraday.rbi +20 -0
  65. data/sorbet/rbi/gems/activesupport@6.1.4.1.rbi +3770 -0
  66. data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
  67. data/sorbet/rbi/gems/backport@1.2.0.rbi +8 -0
  68. data/sorbet/rbi/gems/benchmark@0.1.1.rbi +65 -0
  69. data/sorbet/rbi/gems/bundler-audit@0.8.0.rbi +8 -0
  70. data/sorbet/rbi/gems/byebug@11.1.3.rbi +1569 -0
  71. data/sorbet/rbi/gems/childprocess@4.1.0.rbi +8 -0
  72. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  73. data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
  74. data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
  75. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +2403 -0
  76. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
  77. data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
  78. data/sorbet/rbi/gems/dotenv@2.7.6.rbi +88 -0
  79. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +8 -0
  80. data/sorbet/rbi/gems/faker@2.19.0.rbi +2513 -0
  81. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +101 -0
  82. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +78 -0
  83. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +77 -0
  84. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +73 -0
  85. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +82 -0
  86. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +72 -0
  87. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +74 -0
  88. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +73 -0
  89. data/sorbet/rbi/gems/faraday@1.7.0.rbi +783 -0
  90. data/sorbet/rbi/gems/ffi@1.15.3.rbi +8 -0
  91. data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
  92. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +8 -0
  93. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +8 -0
  94. data/sorbet/rbi/gems/guard@2.18.0.rbi +8 -0
  95. data/sorbet/rbi/gems/haml@5.2.2.rbi +8 -0
  96. data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
  97. data/sorbet/rbi/gems/i18n@1.8.10.rbi +584 -0
  98. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +8 -0
  99. data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +8 -0
  100. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +8 -0
  101. data/sorbet/rbi/gems/kramdown@2.3.1.rbi +8 -0
  102. data/sorbet/rbi/gems/listen@3.7.0.rbi +476 -0
  103. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +8 -0
  104. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  105. data/sorbet/rbi/gems/minitest@5.14.4.rbi +344 -0
  106. data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +69 -0
  107. data/sorbet/rbi/gems/nenv@0.3.0.rbi +8 -0
  108. data/sorbet/rbi/gems/nokogiri@1.12.3.rbi +8 -0
  109. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +8 -0
  110. data/sorbet/rbi/gems/overcommit@0.58.0.rbi +8 -0
  111. data/sorbet/rbi/gems/parallel@1.20.1.rbi +8 -0
  112. data/sorbet/rbi/gems/parlour@6.0.1.rbi +1610 -0
  113. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1731 -0
  114. data/sorbet/rbi/gems/prettier@1.6.1.rbi +8 -0
  115. data/sorbet/rbi/gems/pry-byebug@3.9.0.rbi +461 -0
  116. data/sorbet/rbi/gems/pry@0.13.1.rbi +2553 -0
  117. data/sorbet/rbi/gems/racc@1.5.2.rbi +47 -0
  118. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
  119. data/sorbet/rbi/gems/rake@13.0.6.rbi +807 -0
  120. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  121. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
  122. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +8 -0
  123. data/sorbet/rbi/gems/reverse_markdown@2.0.0.rbi +8 -0
  124. data/sorbet/rbi/gems/rexml@3.2.5.rbi +672 -0
  125. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2500 -0
  126. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1574 -0
  127. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
  128. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +510 -0
  129. data/sorbet/rbi/gems/rspec@3.10.0.rbi +39 -0
  130. data/sorbet/rbi/gems/rspec_in_context@1.1.0.3.rbi +196 -0
  131. data/sorbet/rbi/gems/rubocop-ast@1.11.0.rbi +8 -0
  132. data/sorbet/rbi/gems/rubocop-faker@1.1.0.rbi +8 -0
  133. data/sorbet/rbi/gems/rubocop-performance@1.11.5.rbi +8 -0
  134. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +8 -0
  135. data/sorbet/rbi/gems/rubocop@1.20.0.rbi +8 -0
  136. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +8 -0
  137. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
  138. data/sorbet/rbi/gems/shellany@0.0.1.rbi +8 -0
  139. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  140. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  141. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
  142. data/sorbet/rbi/gems/solargraph@0.43.0.rbi +8 -0
  143. data/sorbet/rbi/gems/spoom@1.1.2.rbi +1204 -0
  144. data/sorbet/rbi/gems/tapioca@0.4.25.rbi +1239 -0
  145. data/sorbet/rbi/gems/temple@0.8.2.rbi +8 -0
  146. data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
  147. data/sorbet/rbi/gems/tilt@2.0.10.rbi +8 -0
  148. data/sorbet/rbi/gems/timecop@0.9.4.rbi +82 -0
  149. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +857 -0
  150. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +8 -0
  151. data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
  152. data/sorbet/rbi/gems/vcr@6.0.0.rbi +782 -0
  153. data/sorbet/rbi/gems/yard-sorbet@0.5.3.rbi +8 -0
  154. data/sorbet/rbi/gems/yard@0.9.26.rbi +8 -0
  155. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +173 -0
  156. data/sorbet/tapioca/config +0 -0
  157. data/sorbet/tapioca/require.rb +5 -0
  158. data/yarn.lock +3 -3
  159. metadata +157 -138
@@ -0,0 +1,2553 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `pry` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ class BasicObject
8
+ def __binding__; end
9
+ end
10
+
11
+ class Object < ::BasicObject
12
+ include ::ActiveSupport::ToJsonWithActiveSupportEncoder
13
+ include ::Kernel
14
+ include ::JSON::Ext::Generator::GeneratorMethods::Object
15
+ include ::PP::ObjectMixin
16
+ include ::ActiveSupport::Tryable
17
+
18
+ def __binding__; end
19
+ def pry(object = T.unsafe(nil), hash = T.unsafe(nil)); end
20
+ end
21
+
22
+ class Pry
23
+ extend ::Forwardable
24
+ extend ::Pry::Forwardable
25
+
26
+ def initialize(options = T.unsafe(nil)); end
27
+
28
+ def add_sticky_local(name, &block); end
29
+ def backtrace; end
30
+ def backtrace=(_arg0); end
31
+ def binding_stack; end
32
+ def binding_stack=(_arg0); end
33
+ def color(*args, &block); end
34
+ def color=(*args, &block); end
35
+ def commands(*args, &block); end
36
+ def commands=(*args, &block); end
37
+ def complete(str); end
38
+ def config; end
39
+ def current_binding; end
40
+ def current_context; end
41
+ def custom_completions; end
42
+ def custom_completions=(_arg0); end
43
+ def editor(*args, &block); end
44
+ def editor=(*args, &block); end
45
+ def eval(line, options = T.unsafe(nil)); end
46
+ def eval_string; end
47
+ def eval_string=(_arg0); end
48
+ def evaluate_ruby(code); end
49
+ def exception_handler(*args, &block); end
50
+ def exception_handler=(*args, &block); end
51
+ def exec_hook(name, *args, &block); end
52
+ def exit_value; end
53
+ def extra_sticky_locals(*args, &block); end
54
+ def extra_sticky_locals=(*args, &block); end
55
+ def hooks(*args, &block); end
56
+ def hooks=(*args, &block); end
57
+ def inject_local(name, value, binding); end
58
+ def inject_sticky_locals!; end
59
+ def input(*args, &block); end
60
+ def input=(*args, &block); end
61
+ def input_ring; end
62
+ def last_dir; end
63
+ def last_dir=(_arg0); end
64
+ def last_exception; end
65
+ def last_exception=(exception); end
66
+ def last_file; end
67
+ def last_file=(_arg0); end
68
+ def last_result; end
69
+ def last_result=(_arg0); end
70
+ def last_result_is_exception?; end
71
+ def memory_size; end
72
+ def memory_size=(size); end
73
+ def output; end
74
+ def output=(*args, &block); end
75
+ def output_ring; end
76
+ def pager; end
77
+ def pager=(*args, &block); end
78
+ def pop_prompt; end
79
+ def print(*args, &block); end
80
+ def print=(*args, &block); end
81
+ def process_command(val); end
82
+ def process_command_safely(val); end
83
+ def prompt; end
84
+ def prompt=(new_prompt); end
85
+ def push_binding(object); end
86
+ def push_initial_binding(target = T.unsafe(nil)); end
87
+ def push_prompt(new_prompt); end
88
+ def quiet?; end
89
+ def raise_up(*args); end
90
+ def raise_up!(*args); end
91
+ def raise_up_common(force, *args); end
92
+ def repl(target = T.unsafe(nil)); end
93
+ def reset_eval_string; end
94
+ def run_command(val); end
95
+ def select_prompt; end
96
+ def set_last_result(result, code = T.unsafe(nil)); end
97
+ def should_print?; end
98
+ def show_result(result); end
99
+ def sticky_locals; end
100
+ def suppress_output; end
101
+ def suppress_output=(_arg0); end
102
+ def update_input_history(code); end
103
+
104
+ private
105
+
106
+ def ensure_correct_encoding!(val); end
107
+ def generate_prompt(prompt_proc, conf); end
108
+ def handle_line(line, options); end
109
+ def prompt_stack; end
110
+
111
+ class << self
112
+ def Code(obj); end
113
+ def Method(obj); end
114
+ def WrappedModule(obj); end
115
+ def auto_resize!; end
116
+ def binding_for(target); end
117
+ def cli; end
118
+ def cli=(_arg0); end
119
+ def color(*args, &block); end
120
+ def color=(*args, &block); end
121
+ def commands(*args, &block); end
122
+ def commands=(*args, &block); end
123
+ def config; end
124
+ def config=(_arg0); end
125
+ def configure; end
126
+ def critical_section; end
127
+ def current; end
128
+ def current_line; end
129
+ def current_line=(_arg0); end
130
+ def custom_completions; end
131
+ def custom_completions=(_arg0); end
132
+ def editor(*args, &block); end
133
+ def editor=(*args, &block); end
134
+ def eval_path; end
135
+ def eval_path=(_arg0); end
136
+ def exception_handler(*args, &block); end
137
+ def exception_handler=(*args, &block); end
138
+ def extra_sticky_locals(*args, &block); end
139
+ def extra_sticky_locals=(*args, &block); end
140
+ def final_session_setup; end
141
+ def history(*args, &block); end
142
+ def history=(*args, &block); end
143
+ def hooks(*args, &block); end
144
+ def hooks=(*args, &block); end
145
+ def in_critical_section?; end
146
+ def init; end
147
+ def initial_session?; end
148
+ def initial_session_setup; end
149
+ def input(*args, &block); end
150
+ def input=(*args, &block); end
151
+ def last_internal_error; end
152
+ def last_internal_error=(_arg0); end
153
+ def line_buffer; end
154
+ def line_buffer=(_arg0); end
155
+ def load_file_at_toplevel(file); end
156
+ def load_file_through_repl(file_name); end
157
+ def load_history; end
158
+ def load_plugins(*args, &block); end
159
+ def load_rc_files; end
160
+ def load_requires; end
161
+ def load_traps; end
162
+ def load_win32console; end
163
+ def locate_plugins(*args, &block); end
164
+ def main; end
165
+ def memory_size(*args, &block); end
166
+ def memory_size=(*args, &block); end
167
+ def output(*args, &block); end
168
+ def output=(*args, &block); end
169
+ def pager(*args, &block); end
170
+ def pager=(*args, &block); end
171
+ def plugins(*args, &block); end
172
+ def print(*args, &block); end
173
+ def print=(*args, &block); end
174
+ def prompt(*args, &block); end
175
+ def prompt=(*args, &block); end
176
+ def quiet; end
177
+ def quiet=(_arg0); end
178
+ def rc_files_to_load; end
179
+ def real_path_to(file); end
180
+ def reset_defaults; end
181
+ def run_command(command_string, options = T.unsafe(nil)); end
182
+ def start(target = T.unsafe(nil), options = T.unsafe(nil)); end
183
+ def start_with_pry_byebug(target = T.unsafe(nil), options = T.unsafe(nil)); end
184
+ def start_without_pry_byebug(target = T.unsafe(nil), options = T.unsafe(nil)); end
185
+ def toplevel_binding; end
186
+ def toplevel_binding=(_arg0); end
187
+ def view_clip(obj, options = T.unsafe(nil)); end
188
+ end
189
+ end
190
+
191
+ Pry::BINDING_METHOD_IMPL = T.let(T.unsafe(nil), Array)
192
+
193
+ class Pry::BasicObject < ::BasicObject
194
+ include ::Kernel
195
+ end
196
+
197
+ Pry::BasicObject::Dir = Dir
198
+ Pry::BasicObject::ENV = T.let(T.unsafe(nil), Object)
199
+ Pry::BasicObject::File = File
200
+ Pry::BasicObject::Kernel = Kernel
201
+ Pry::BasicObject::LoadError = LoadError
202
+ Pry::BasicObject::Pry = Pry
203
+
204
+ class Pry::BlockCommand < ::Pry::Command
205
+ def call(*args); end
206
+ def help; end
207
+ end
208
+
209
+ class Pry::CLI
210
+ class << self
211
+ def add_option_processor(&block); end
212
+ def add_options(&block); end
213
+ def add_plugin_options; end
214
+ def input_args; end
215
+ def input_args=(_arg0); end
216
+ def option_processors; end
217
+ def option_processors=(_arg0); end
218
+ def options; end
219
+ def options=(_arg0); end
220
+ def parse_options(args = T.unsafe(nil)); end
221
+ def reset; end
222
+ def start(opts); end
223
+ end
224
+ end
225
+
226
+ class Pry::CLI::NoOptionsError < ::StandardError; end
227
+
228
+ class Pry::ClassCommand < ::Pry::Command
229
+ def args; end
230
+ def args=(_arg0); end
231
+ def call(*args); end
232
+ def complete(search); end
233
+ def help; end
234
+ def options(opt); end
235
+ def opts; end
236
+ def opts=(_arg0); end
237
+ def process; end
238
+ def setup; end
239
+ def slop; end
240
+ def subcommands(cmd); end
241
+
242
+ class << self
243
+ def doc; end
244
+ def file; end
245
+ def inherited(klass); end
246
+ def line; end
247
+ def source; end
248
+ def source_file; end
249
+ def source_line; end
250
+ def source_location; end
251
+
252
+ private
253
+
254
+ def source_object; end
255
+ end
256
+ end
257
+
258
+ class Pry::Code
259
+ extend ::MethodSource::CodeHelpers
260
+
261
+ def initialize(lines = T.unsafe(nil), start_line = T.unsafe(nil), code_type = T.unsafe(nil)); end
262
+
263
+ def <<(line); end
264
+ def ==(other); end
265
+ def after(lineno, lines = T.unsafe(nil)); end
266
+ def around(lineno, lines = T.unsafe(nil)); end
267
+ def before(lineno, lines = T.unsafe(nil)); end
268
+ def between(start_line, end_line = T.unsafe(nil)); end
269
+ def code_type; end
270
+ def code_type=(_arg0); end
271
+ def comment_describing(line_number); end
272
+ def expression_at(line_number, consume = T.unsafe(nil)); end
273
+ def grep(pattern); end
274
+ def highlighted; end
275
+ def length; end
276
+ def max_lineno_width; end
277
+ def method_missing(method_name, *args, &block); end
278
+ def nesting_at(line_number); end
279
+ def print_to_output(output, color = T.unsafe(nil)); end
280
+ def push(line); end
281
+ def raw; end
282
+ def reject(&block); end
283
+ def select(&block); end
284
+ def take_lines(start_line, num_lines); end
285
+ def to_s; end
286
+ def with_indentation(spaces = T.unsafe(nil)); end
287
+ def with_line_numbers(y_n = T.unsafe(nil)); end
288
+ def with_marker(lineno = T.unsafe(nil)); end
289
+
290
+ protected
291
+
292
+ def alter(&block); end
293
+
294
+ private
295
+
296
+ def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end
297
+
298
+ class << self
299
+ def from_file(filename, code_type = T.unsafe(nil)); end
300
+ def from_method(meth, start_line = T.unsafe(nil)); end
301
+ def from_module(mod, candidate_rank = T.unsafe(nil), start_line = T.unsafe(nil)); end
302
+ end
303
+ end
304
+
305
+ class Pry::Code::CodeRange
306
+ def initialize(start_line, end_line = T.unsafe(nil)); end
307
+
308
+ def indices_range(lines); end
309
+
310
+ private
311
+
312
+ def end_line; end
313
+ def find_end_index(lines); end
314
+ def find_start_index(lines); end
315
+ def force_set_end_line; end
316
+ def indices(lines); end
317
+ def set_end_line_from_range; end
318
+ def start_line; end
319
+ end
320
+
321
+ class Pry::Code::LOC
322
+ def initialize(line, lineno); end
323
+
324
+ def ==(other); end
325
+ def add_line_number(max_width = T.unsafe(nil), color = T.unsafe(nil)); end
326
+ def add_marker(marker_lineno); end
327
+ def colorize(code_type); end
328
+ def dup; end
329
+ def handle_multiline_entries_from_edit_command(line, max_width); end
330
+ def indent(distance); end
331
+ def line; end
332
+ def lineno; end
333
+ def tuple; end
334
+ end
335
+
336
+ class Pry::CodeFile
337
+ def initialize(filename, code_type = T.unsafe(nil)); end
338
+
339
+ def code; end
340
+ def code_type; end
341
+
342
+ private
343
+
344
+ def abs_path; end
345
+ def code_path; end
346
+ def from_load_path; end
347
+ def from_pry_init_pwd; end
348
+ def from_pwd; end
349
+ def readable?(path); end
350
+ def type_from_filename(filename, default = T.unsafe(nil)); end
351
+ end
352
+
353
+ Pry::CodeFile::DEFAULT_EXT = T.let(T.unsafe(nil), String)
354
+ Pry::CodeFile::EXTENSIONS = T.let(T.unsafe(nil), Hash)
355
+ Pry::CodeFile::FILES = T.let(T.unsafe(nil), Hash)
356
+ Pry::CodeFile::INITIAL_PWD = T.let(T.unsafe(nil), String)
357
+
358
+ class Pry::CodeObject
359
+ include ::Pry::Helpers::OptionsHelpers
360
+ include ::Pry::Helpers::CommandHelpers
361
+
362
+ def initialize(str, pry_instance, options = T.unsafe(nil)); end
363
+
364
+ def command_lookup; end
365
+ def default_lookup; end
366
+ def empty_lookup; end
367
+ def method_or_class_lookup; end
368
+ def pry_instance; end
369
+ def pry_instance=(_arg0); end
370
+ def str; end
371
+ def str=(_arg0); end
372
+ def super_level; end
373
+ def super_level=(_arg0); end
374
+ def target; end
375
+ def target=(_arg0); end
376
+
377
+ private
378
+
379
+ def looks_like_an_instance_method?(str); end
380
+ def lookup_super(obj, super_level); end
381
+ def safe_to_evaluate?(str); end
382
+ def sourcable_object?(obj); end
383
+ def target_self; end
384
+
385
+ class << self
386
+ def lookup(str, pry_instance, options = T.unsafe(nil)); end
387
+ end
388
+ end
389
+
390
+ module Pry::CodeObject::Helpers
391
+ def c_method?; end
392
+ def c_module?; end
393
+ def command?; end
394
+ def module_with_yard_docs?; end
395
+ def real_method_object?; end
396
+ end
397
+
398
+ class Pry::ColorPrinter < ::PP
399
+ def pp(object); end
400
+ def text(str, max_width = T.unsafe(nil)); end
401
+
402
+ private
403
+
404
+ def highlight_object_literal(object_literal); end
405
+ def inspect_object(object); end
406
+
407
+ class << self
408
+ def default(_output, value, pry_instance); end
409
+ def pp(obj, output = T.unsafe(nil), max_width = T.unsafe(nil)); end
410
+ end
411
+ end
412
+
413
+ class Pry::Command
414
+ include ::Pry::Helpers::BaseHelpers
415
+ include ::Pry::Helpers::OptionsHelpers
416
+ include ::Pry::Helpers::CommandHelpers
417
+ include ::Pry::Helpers::Text
418
+ extend ::Pry::Helpers::DocumentationHelpers
419
+ extend ::Pry::CodeObject::Helpers
420
+
421
+ def initialize(context = T.unsafe(nil)); end
422
+
423
+ def _pry_; end
424
+ def _pry_=(_arg0); end
425
+ def arg_string; end
426
+ def arg_string=(_arg0); end
427
+ def block; end
428
+ def captures; end
429
+ def captures=(_arg0); end
430
+ def check_for_command_collision(command_match, arg_string); end
431
+ def command_block; end
432
+ def command_block=(_arg0); end
433
+ def command_name; end
434
+ def command_options; end
435
+ def command_set; end
436
+ def command_set=(_arg0); end
437
+ def commands; end
438
+ def complete(_search); end
439
+ def context; end
440
+ def context=(_arg0); end
441
+ def description; end
442
+ def eval_string; end
443
+ def eval_string=(_arg0); end
444
+ def hooks; end
445
+ def hooks=(_arg0); end
446
+ def interpolate_string(str); end
447
+ def match; end
448
+ def name; end
449
+ def output; end
450
+ def output=(_arg0); end
451
+ def process_line(line); end
452
+ def pry_instance; end
453
+ def pry_instance=(_arg0); end
454
+ def run(command_string, *args); end
455
+ def source; end
456
+ def state; end
457
+ def target; end
458
+ def target=(_arg0); end
459
+ def target_self; end
460
+ def tokenize(val); end
461
+ def void; end
462
+
463
+ private
464
+
465
+ def after_hooks; end
466
+ def before_hooks; end
467
+ def call_safely(*args); end
468
+ def call_with_hooks(*args); end
469
+ def find_hooks(event); end
470
+ def normalize_method_args(method, args); end
471
+ def pass_block(arg_string); end
472
+ def use_unpatched_symbol; end
473
+
474
+ class << self
475
+ def banner(arg = T.unsafe(nil)); end
476
+ def block; end
477
+ def block=(_arg0); end
478
+ def command_name; end
479
+ def command_options(arg = T.unsafe(nil)); end
480
+ def command_options=(_arg0); end
481
+ def command_regex; end
482
+ def convert_to_regex(obj); end
483
+ def default_options(match); end
484
+ def description(arg = T.unsafe(nil)); end
485
+ def description=(_arg0); end
486
+ def doc; end
487
+ def file; end
488
+ def group(name = T.unsafe(nil)); end
489
+ def inspect; end
490
+ def line; end
491
+ def match(arg = T.unsafe(nil)); end
492
+ def match=(_arg0); end
493
+ def match_score(val); end
494
+ def matches?(val); end
495
+ def name; end
496
+ def options(arg = T.unsafe(nil)); end
497
+ def options=(_arg0); end
498
+ def source; end
499
+ def source_file; end
500
+ def source_line; end
501
+ def state; end
502
+ def subclass(match, description, options, helpers, &block); end
503
+ end
504
+ end
505
+
506
+ class Pry::Command::AmendLine < ::Pry::ClassCommand
507
+ def process; end
508
+
509
+ private
510
+
511
+ def amend_input; end
512
+ def delete_from_array(array, range); end
513
+ def insert_into_array(array, range); end
514
+ def line_count; end
515
+ def line_range; end
516
+ def replace_in_array(array, range); end
517
+ def start_and_end_line_number; end
518
+ def zero_indexed_range_from_one_indexed_numbers(start_line_number, end_line_number); end
519
+ end
520
+
521
+ class Pry::Command::Bang < ::Pry::ClassCommand
522
+ def process; end
523
+ end
524
+
525
+ class Pry::Command::BangPry < ::Pry::ClassCommand
526
+ def process; end
527
+ end
528
+
529
+ class Pry::Command::Cat < ::Pry::ClassCommand
530
+ def complete(search); end
531
+ def load_path_completions; end
532
+ def options(opt); end
533
+ def process; end
534
+ end
535
+
536
+ class Pry::Command::Cat::AbstractFormatter
537
+ include ::Pry::Helpers::OptionsHelpers
538
+ include ::Pry::Helpers::CommandHelpers
539
+ include ::Pry::Helpers::BaseHelpers
540
+
541
+ private
542
+
543
+ def between_lines; end
544
+ def code_type; end
545
+ def decorate(content); end
546
+ def use_line_numbers?; end
547
+ end
548
+
549
+ class Pry::Command::Cat::ExceptionFormatter < ::Pry::Command::Cat::AbstractFormatter
550
+ include ::Pry::Helpers::Text
551
+
552
+ def initialize(exception, pry_instance, opts); end
553
+
554
+ def ex; end
555
+ def format; end
556
+ def opts; end
557
+ def pry_instance; end
558
+
559
+ private
560
+
561
+ def backtrace_file; end
562
+ def backtrace_level; end
563
+ def backtrace_line; end
564
+ def check_for_errors; end
565
+ def code_window_size; end
566
+ def header; end
567
+ def increment_backtrace_level; end
568
+ def start_and_end_line_for_code_window; end
569
+ end
570
+
571
+ class Pry::Command::Cat::FileFormatter < ::Pry::Command::Cat::AbstractFormatter
572
+ def initialize(file_with_embedded_line, pry_instance, opts); end
573
+
574
+ def file_and_line; end
575
+ def file_with_embedded_line; end
576
+ def format; end
577
+ def opts; end
578
+ def pry_instance; end
579
+
580
+ private
581
+
582
+ def code_type; end
583
+ def code_window_size; end
584
+ def decorate(content); end
585
+ def detect_code_type_from_file(file_name); end
586
+ def file_name; end
587
+ def line_number; end
588
+ end
589
+
590
+ class Pry::Command::Cat::InputExpressionFormatter < ::Pry::Command::Cat::AbstractFormatter
591
+ def initialize(input_expressions, opts); end
592
+
593
+ def format; end
594
+ def input_expressions; end
595
+ def input_expressions=(_arg0); end
596
+ def opts; end
597
+ def opts=(_arg0); end
598
+
599
+ private
600
+
601
+ def normalized_expression_range; end
602
+ def numbered_input_items; end
603
+ def selected_input_items; end
604
+ end
605
+
606
+ class Pry::Command::Cd < ::Pry::ClassCommand
607
+ def process; end
608
+ end
609
+
610
+ class Pry::Command::ChangeInspector < ::Pry::ClassCommand
611
+ def process(inspector); end
612
+
613
+ private
614
+
615
+ def inspector_map; end
616
+ end
617
+
618
+ class Pry::Command::ChangePrompt < ::Pry::ClassCommand
619
+ def options(opt); end
620
+ def process(prompt); end
621
+
622
+ private
623
+
624
+ def change_prompt(prompt); end
625
+ def list_prompts; end
626
+ end
627
+
628
+ class Pry::Command::ClearScreen < ::Pry::ClassCommand
629
+ def process; end
630
+ end
631
+
632
+ class Pry::Command::CodeCollector
633
+ include ::Pry::Helpers::OptionsHelpers
634
+ include ::Pry::Helpers::CommandHelpers
635
+
636
+ def initialize(args, opts, pry_instance); end
637
+
638
+ def args; end
639
+ def code_object; end
640
+ def content; end
641
+ def file; end
642
+ def file=(_arg0); end
643
+ def line_range; end
644
+ def obj_name; end
645
+ def opts; end
646
+ def pry_input_content; end
647
+ def pry_instance; end
648
+ def pry_output_content; end
649
+ def restrict_to_lines(content, range); end
650
+
651
+ private
652
+
653
+ def bad_option_combination?; end
654
+ def code_object_doc; end
655
+ def code_object_source_or_file; end
656
+ def convert_to_range(range); end
657
+ def could_not_locate(name); end
658
+ def file_content; end
659
+ def pry_array_content_as_string(array, ranges); end
660
+
661
+ class << self
662
+ def inject_options(opt); end
663
+ def input_expression_ranges; end
664
+ def input_expression_ranges=(_arg0); end
665
+ def output_result_ranges; end
666
+ def output_result_ranges=(_arg0); end
667
+ end
668
+ end
669
+
670
+ class Pry::Command::DisablePry < ::Pry::ClassCommand
671
+ def process; end
672
+ end
673
+
674
+ class Pry::Command::Edit < ::Pry::ClassCommand
675
+ def apply_runtime_patch; end
676
+ def bad_option_combination?; end
677
+ def code_object; end
678
+ def ensure_file_name_is_valid(file_name); end
679
+ def file_and_line; end
680
+ def file_and_line_for_current_exception; end
681
+ def file_based_exception?; end
682
+ def file_edit; end
683
+ def filename_argument; end
684
+ def initial_temp_file_content; end
685
+ def input_expression; end
686
+ def never_reload?; end
687
+ def options(opt); end
688
+ def patch_exception?; end
689
+ def previously_patched?(code_object); end
690
+ def probably_a_file?(str); end
691
+ def process; end
692
+ def pry_method?(code_object); end
693
+ def reload?(file_name = T.unsafe(nil)); end
694
+ def reloadable?; end
695
+ def repl_edit; end
696
+ def repl_edit?; end
697
+ def runtime_patch?; end
698
+ end
699
+
700
+ class Pry::Command::Edit::ExceptionPatcher
701
+ def initialize(pry_instance, state, exception_file_and_line); end
702
+
703
+ def file_and_line; end
704
+ def file_and_line=(_arg0); end
705
+ def perform_patch; end
706
+ def pry_instance; end
707
+ def pry_instance=(_arg0); end
708
+ def state; end
709
+ def state=(_arg0); end
710
+ end
711
+
712
+ module Pry::Command::Edit::FileAndLineLocator
713
+ class << self
714
+ def from_binding(target); end
715
+ def from_code_object(code_object, filename_argument); end
716
+ def from_exception(exception, backtrace_level); end
717
+ def from_filename_argument(filename_argument); end
718
+ end
719
+ end
720
+
721
+ class Pry::Command::Exit < ::Pry::ClassCommand
722
+ def process; end
723
+ def process_pop_and_return; end
724
+ end
725
+
726
+ class Pry::Command::ExitAll < ::Pry::ClassCommand
727
+ def process; end
728
+ end
729
+
730
+ class Pry::Command::ExitProgram < ::Pry::ClassCommand
731
+ def process; end
732
+ end
733
+
734
+ class Pry::Command::FindMethod < ::Pry::ClassCommand
735
+ extend ::Pry::Helpers::BaseHelpers
736
+
737
+ def options(opt); end
738
+ def process; end
739
+
740
+ private
741
+
742
+ def additional_info(header, method); end
743
+ def content_search(namespace); end
744
+ def matched_method_lines(header, method); end
745
+ def name_search(namespace); end
746
+ def pattern; end
747
+ def print_matches(matches); end
748
+ def print_matches_for_class(klass, grouped); end
749
+ def recurse_namespace(klass, done = T.unsafe(nil), &block); end
750
+ def search_all_methods(namespace); end
751
+ def search_class; end
752
+ def show_search_results(matches); end
753
+ end
754
+
755
+ class Pry::Command::FixIndent < ::Pry::ClassCommand
756
+ def process; end
757
+ end
758
+
759
+ class Pry::Command::Help < ::Pry::ClassCommand
760
+ def command_groups; end
761
+ def display_command(command); end
762
+ def display_filtered_commands(search); end
763
+ def display_filtered_search_results(search); end
764
+ def display_index(groups); end
765
+ def display_search(search); end
766
+ def group_sort_key(group_name); end
767
+ def help_text_for_commands(name, commands); end
768
+ def normalize(key); end
769
+ def process; end
770
+ def search_hash(search, hash); end
771
+ def sorted_commands(commands); end
772
+ def sorted_group_names(groups); end
773
+ def visible_commands; end
774
+ end
775
+
776
+ class Pry::Command::Hist < ::Pry::ClassCommand
777
+ def options(opt); end
778
+ def process; end
779
+
780
+ private
781
+
782
+ def check_for_juxtaposed_replay(replay_sequence); end
783
+ def find_history; end
784
+ def process_clear; end
785
+ def process_display; end
786
+ def process_replay; end
787
+ def process_save; end
788
+ end
789
+
790
+ class Pry::Command::ImportSet < ::Pry::ClassCommand
791
+ def process(_command_set_name); end
792
+ end
793
+
794
+ class Pry::Command::JumpTo < ::Pry::ClassCommand
795
+ def process(break_level); end
796
+ end
797
+
798
+ class Pry::Command::ListInspectors < ::Pry::ClassCommand
799
+ def process; end
800
+
801
+ private
802
+
803
+ def inspector_map; end
804
+ def selected_inspector?(inspector); end
805
+ def selected_text; end
806
+ end
807
+
808
+ class Pry::Command::Ls < ::Pry::ClassCommand
809
+ def no_user_opts?; end
810
+ def options(opt); end
811
+ def process; end
812
+
813
+ private
814
+
815
+ def error_list; end
816
+ def raise_errors_if_arguments_are_weird; end
817
+ end
818
+
819
+ class Pry::Command::Ls::Constants < ::Pry::Command::Ls::Formatter
820
+ include ::Pry::Command::Ls::Interrogatable
821
+
822
+ def initialize(interrogatee, no_user_opts, opts, pry_instance); end
823
+
824
+ def correct_opts?; end
825
+ def output_self; end
826
+
827
+ private
828
+
829
+ def format(mod, constants); end
830
+ def show_deprecated_constants?; end
831
+ end
832
+
833
+ Pry::Command::Ls::Constants::DEPRECATED_CONSTANTS = T.let(T.unsafe(nil), Array)
834
+ Pry::Command::Ls::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash)
835
+
836
+ class Pry::Command::Ls::Formatter
837
+ def initialize(pry_instance); end
838
+
839
+ def grep=(_arg0); end
840
+ def pry_instance; end
841
+ def write_out; end
842
+
843
+ private
844
+
845
+ def color(type, str); end
846
+ def correct_opts?; end
847
+ def format_value(value); end
848
+ def grep; end
849
+ def output_section(heading, body); end
850
+ def output_self; end
851
+ end
852
+
853
+ class Pry::Command::Ls::Globals < ::Pry::Command::Ls::Formatter
854
+ def initialize(opts, pry_instance); end
855
+
856
+ def output_self; end
857
+
858
+ private
859
+
860
+ def format(globals); end
861
+ end
862
+
863
+ Pry::Command::Ls::Globals::BUILTIN_GLOBALS = T.let(T.unsafe(nil), Array)
864
+ Pry::Command::Ls::Globals::PSEUDO_GLOBALS = T.let(T.unsafe(nil), Array)
865
+
866
+ class Pry::Command::Ls::Grep
867
+ def initialize(grep_regexp); end
868
+
869
+ def regexp; end
870
+ end
871
+
872
+ class Pry::Command::Ls::InstanceVars < ::Pry::Command::Ls::Formatter
873
+ include ::Pry::Command::Ls::Interrogatable
874
+
875
+ def initialize(interrogatee, no_user_opts, opts, pry_instance); end
876
+
877
+ def correct_opts?; end
878
+ def output_self; end
879
+
880
+ private
881
+
882
+ def format(type, vars); end
883
+ end
884
+
885
+ module Pry::Command::Ls::Interrogatable
886
+ private
887
+
888
+ def interrogatee_mod; end
889
+ def interrogating_a_module?; end
890
+ end
891
+
892
+ module Pry::Command::Ls::JRubyHacks
893
+ private
894
+
895
+ def rubbishness(name); end
896
+ def trim_jruby_aliases(methods); end
897
+ end
898
+
899
+ class Pry::Command::Ls::LocalNames < ::Pry::Command::Ls::Formatter
900
+ def initialize(no_user_opts, args, pry_instance); end
901
+
902
+ def correct_opts?; end
903
+ def output_self; end
904
+
905
+ private
906
+
907
+ def format(locals); end
908
+ end
909
+
910
+ class Pry::Command::Ls::LocalVars < ::Pry::Command::Ls::Formatter
911
+ def initialize(opts, pry_instance); end
912
+
913
+ def output_self; end
914
+
915
+ private
916
+
917
+ def colorized_assignment_style(lhs, rhs, desired_width = T.unsafe(nil)); end
918
+ def format(name_value_pairs); end
919
+ end
920
+
921
+ class Pry::Command::Ls::LsEntity
922
+ def initialize(opts); end
923
+
924
+ def entities_table; end
925
+ def pry_instance; end
926
+
927
+ private
928
+
929
+ def constants; end
930
+ def entities; end
931
+ def globals; end
932
+ def grep(entity); end
933
+ def instance_vars; end
934
+ def local_names; end
935
+ def local_vars; end
936
+ def methods; end
937
+ def self_methods; end
938
+ end
939
+
940
+ class Pry::Command::Ls::Methods < ::Pry::Command::Ls::Formatter
941
+ include ::Pry::Command::Ls::Interrogatable
942
+ include ::Pry::Command::Ls::JRubyHacks
943
+ include ::Pry::Command::Ls::MethodsHelper
944
+
945
+ def initialize(interrogatee, no_user_opts, opts, pry_instance); end
946
+
947
+ def output_self; end
948
+
949
+ private
950
+
951
+ def below_ceiling; end
952
+ def correct_opts?; end
953
+ end
954
+
955
+ module Pry::Command::Ls::MethodsHelper
956
+ include ::Pry::Command::Ls::JRubyHacks
957
+
958
+ private
959
+
960
+ def all_methods(instance_methods = T.unsafe(nil)); end
961
+ def format(methods); end
962
+ def resolution_order; end
963
+ end
964
+
965
+ class Pry::Command::Ls::SelfMethods < ::Pry::Command::Ls::Formatter
966
+ include ::Pry::Command::Ls::Interrogatable
967
+ include ::Pry::Command::Ls::JRubyHacks
968
+ include ::Pry::Command::Ls::MethodsHelper
969
+
970
+ def initialize(interrogatee, no_user_opts, opts, pry_instance); end
971
+
972
+ def output_self; end
973
+
974
+ private
975
+
976
+ def correct_opts?; end
977
+ end
978
+
979
+ class Pry::Command::Nesting < ::Pry::ClassCommand
980
+ def process; end
981
+ end
982
+
983
+ class Pry::Command::Play < ::Pry::ClassCommand
984
+ def code_object; end
985
+ def content; end
986
+ def content_after_options; end
987
+ def content_at_expression; end
988
+ def default_file; end
989
+ def file_content; end
990
+ def options(opt); end
991
+ def perform_play; end
992
+ def process; end
993
+ def should_use_default_file?; end
994
+ def show_input; end
995
+ end
996
+
997
+ class Pry::Command::PryBacktrace < ::Pry::ClassCommand
998
+ def process; end
999
+ end
1000
+
1001
+ class Pry::Command::RaiseUp < ::Pry::ClassCommand
1002
+ def process; end
1003
+ end
1004
+
1005
+ class Pry::Command::ReloadCode < ::Pry::ClassCommand
1006
+ def process; end
1007
+
1008
+ private
1009
+
1010
+ def check_for_reloadability(code_object, identifier); end
1011
+ def current_file; end
1012
+ def reload_current_file; end
1013
+ def reload_object(identifier); end
1014
+ end
1015
+
1016
+ class Pry::Command::Reset < ::Pry::ClassCommand
1017
+ def process; end
1018
+ end
1019
+
1020
+ class Pry::Command::Ri < ::Pry::ClassCommand
1021
+ def process(spec); end
1022
+ end
1023
+
1024
+ class Pry::Command::SaveFile < ::Pry::ClassCommand
1025
+ def display_content; end
1026
+ def file_name; end
1027
+ def mode; end
1028
+ def options(opt); end
1029
+ def process; end
1030
+ def save_file; end
1031
+ end
1032
+
1033
+ class Pry::Command::ShellCommand < ::Pry::ClassCommand
1034
+ def process(cmd); end
1035
+
1036
+ private
1037
+
1038
+ def cd_path_env; end
1039
+ def cd_path_exists?; end
1040
+ def parse_destination(dest); end
1041
+ def path_from_cd_path(dest); end
1042
+ def process_cd(dest); end
1043
+ def special_case_path?(dest); end
1044
+ end
1045
+
1046
+ class Pry::Command::ShellMode < ::Pry::ClassCommand
1047
+ def process; end
1048
+ end
1049
+
1050
+ class Pry::Command::ShowDoc < ::Pry::Command::ShowInfo
1051
+ include ::Pry::Helpers::DocumentationHelpers
1052
+
1053
+ def content_for(code_object); end
1054
+ def docs_for(code_object); end
1055
+ def header_options; end
1056
+ def process; end
1057
+ def render_doc_markup_for(code_object); end
1058
+ def start_line_for(code_object); end
1059
+ end
1060
+
1061
+ class Pry::Command::ShowInfo < ::Pry::ClassCommand
1062
+ extend ::Pry::Helpers::BaseHelpers
1063
+
1064
+ def initialize(*_arg0); end
1065
+
1066
+ def code_object_header(code_object, line_num); end
1067
+ def code_object_with_accessible_source(code_object); end
1068
+ def complete(input); end
1069
+ def content_and_header_for_code_object(code_object); end
1070
+ def content_and_headers_for_all_module_candidates(mod); end
1071
+ def file_and_line_for(code_object); end
1072
+ def header(code_object); end
1073
+ def header_options; end
1074
+ def method_header(code_object, line_num); end
1075
+ def method_sections(code_object); end
1076
+ def module_header(code_object, line_num); end
1077
+ def no_definition_message; end
1078
+ def obj_name; end
1079
+ def options(opt); end
1080
+ def process; end
1081
+ def show_all_modules?(code_object); end
1082
+ def start_line_for(code_object); end
1083
+ def use_line_numbers?; end
1084
+ def valid_superclass?(code_object); end
1085
+ end
1086
+
1087
+ class Pry::Command::ShowInput < ::Pry::ClassCommand
1088
+ def process; end
1089
+ end
1090
+
1091
+ class Pry::Command::ShowSource < ::Pry::Command::ShowInfo
1092
+ include ::Pry::Helpers::DocumentationHelpers
1093
+
1094
+ def content_for(code_object); end
1095
+ def docs_for(code_object); end
1096
+ def header_options; end
1097
+ def options(opt); end
1098
+ def process; end
1099
+ def render_doc_markup_for(code_object); end
1100
+ def start_line_for(code_object); end
1101
+ end
1102
+
1103
+ class Pry::Command::Stat < ::Pry::ClassCommand
1104
+ def options(opt); end
1105
+ def process; end
1106
+ end
1107
+
1108
+ class Pry::Command::SwitchTo < ::Pry::ClassCommand
1109
+ def process(selection); end
1110
+ end
1111
+
1112
+ class Pry::Command::ToggleColor < ::Pry::ClassCommand
1113
+ def color_toggle; end
1114
+ def process; end
1115
+ end
1116
+
1117
+ Pry::Command::VOID_VALUE = T.let(T.unsafe(nil), Object)
1118
+
1119
+ class Pry::Command::Version < ::Pry::ClassCommand
1120
+ def process; end
1121
+ end
1122
+
1123
+ class Pry::Command::WatchExpression < ::Pry::ClassCommand
1124
+ def options(opt); end
1125
+ def process; end
1126
+
1127
+ private
1128
+
1129
+ def add_expression(_arguments); end
1130
+ def add_hook; end
1131
+ def delete(index); end
1132
+ def eval_and_print_changed(output); end
1133
+ def expressions; end
1134
+ def list; end
1135
+ end
1136
+
1137
+ class Pry::Command::WatchExpression::Expression
1138
+ def initialize(pry_instance, target, source); end
1139
+
1140
+ def changed?; end
1141
+ def eval!; end
1142
+ def previous_value; end
1143
+ def pry_instance; end
1144
+ def source; end
1145
+ def target; end
1146
+ def to_s; end
1147
+ def value; end
1148
+
1149
+ private
1150
+
1151
+ def target_eval(target, source); end
1152
+ end
1153
+
1154
+ class Pry::Command::Whereami < ::Pry::ClassCommand
1155
+ def initialize(*_arg0); end
1156
+
1157
+ def bad_option_combination?; end
1158
+ def code; end
1159
+ def code?; end
1160
+ def location; end
1161
+ def options(opt); end
1162
+ def process; end
1163
+ def setup; end
1164
+
1165
+ private
1166
+
1167
+ def class_code; end
1168
+ def code_window; end
1169
+ def default_code; end
1170
+ def expand_path(filename); end
1171
+ def handle_internal_binding; end
1172
+ def marker; end
1173
+ def method_code; end
1174
+ def nothing_to_do?; end
1175
+ def small_method?; end
1176
+ def target_class; end
1177
+ def top_level?; end
1178
+ def use_line_numbers?; end
1179
+ def valid_method?; end
1180
+ def window_size; end
1181
+
1182
+ class << self
1183
+ def method_size_cutoff; end
1184
+ def method_size_cutoff=(_arg0); end
1185
+ end
1186
+ end
1187
+
1188
+ class Pry::Command::Wtf < ::Pry::ClassCommand
1189
+ def options(opt); end
1190
+ def process; end
1191
+
1192
+ private
1193
+
1194
+ def format_backtrace(backtrace); end
1195
+ def format_header(title, exception); end
1196
+ def read_line(file, line); end
1197
+ def trim_backtrace(backtrace); end
1198
+ def unwind_exceptions; end
1199
+ end
1200
+
1201
+ Pry::Command::Wtf::RUBY_FRAME_PATTERN = T.let(T.unsafe(nil), Regexp)
1202
+ class Pry::CommandError < ::StandardError; end
1203
+
1204
+ class Pry::CommandSet
1205
+ include ::Enumerable
1206
+ include ::Pry::Helpers::BaseHelpers
1207
+
1208
+ def initialize(*imported_sets, &block); end
1209
+
1210
+ def [](pattern); end
1211
+ def []=(pattern, command); end
1212
+ def add_command(command); end
1213
+ def alias_command(match, action, options = T.unsafe(nil)); end
1214
+ def block_command(match, description = T.unsafe(nil), options = T.unsafe(nil), &block); end
1215
+ def command(match, description = T.unsafe(nil), options = T.unsafe(nil), &block); end
1216
+ def complete(search, context = T.unsafe(nil)); end
1217
+ def create_command(match, description = T.unsafe(nil), options = T.unsafe(nil), &block); end
1218
+ def delete(*searches); end
1219
+ def desc(search, description = T.unsafe(nil)); end
1220
+ def each(&block); end
1221
+ def find_command(pattern); end
1222
+ def find_command_by_match_or_listing(match_or_listing); end
1223
+ def find_command_for_help(search); end
1224
+ def helper_module; end
1225
+ def import(*sets); end
1226
+ def import_from(set, *matches); end
1227
+ def keys; end
1228
+ def list_commands; end
1229
+ def process_line(val, context = T.unsafe(nil)); end
1230
+ def rename_command(new_match, search, options = T.unsafe(nil)); end
1231
+ def to_h; end
1232
+ def to_hash; end
1233
+ def valid_command?(val); end
1234
+
1235
+ private
1236
+
1237
+ def helpers(&block); end
1238
+ end
1239
+
1240
+ class Pry::CommandState
1241
+ def initialize; end
1242
+
1243
+ def reset(command_name); end
1244
+ def state_for(command_name); end
1245
+
1246
+ class << self
1247
+ def default; end
1248
+ end
1249
+ end
1250
+
1251
+ Pry::Commands = T.let(T.unsafe(nil), Pry::CommandSet)
1252
+
1253
+ class Pry::Config
1254
+ extend ::Pry::Config::Attributable
1255
+
1256
+ def initialize; end
1257
+
1258
+ def [](attr); end
1259
+ def []=(attr, value); end
1260
+ def auto_indent; end
1261
+ def auto_indent=(_arg0); end
1262
+ def collision_warning; end
1263
+ def collision_warning=(_arg0); end
1264
+ def color; end
1265
+ def color=(_arg0); end
1266
+ def command_completions; end
1267
+ def command_completions=(_arg0); end
1268
+ def command_prefix; end
1269
+ def command_prefix=(_arg0); end
1270
+ def commands; end
1271
+ def commands=(_arg0); end
1272
+ def completer; end
1273
+ def completer=(_arg0); end
1274
+ def control_d_handler; end
1275
+ def control_d_handler=(value); end
1276
+ def correct_indent; end
1277
+ def correct_indent=(_arg0); end
1278
+ def default_window_size; end
1279
+ def default_window_size=(_arg0); end
1280
+ def disable_auto_reload; end
1281
+ def disable_auto_reload=(_arg0); end
1282
+ def editor; end
1283
+ def editor=(_arg0); end
1284
+ def exception_handler; end
1285
+ def exception_handler=(_arg0); end
1286
+ def exception_whitelist; end
1287
+ def exception_whitelist=(_arg0); end
1288
+ def exec_string; end
1289
+ def exec_string=(_arg0); end
1290
+ def extra_sticky_locals; end
1291
+ def extra_sticky_locals=(_arg0); end
1292
+ def file_completions; end
1293
+ def file_completions=(_arg0); end
1294
+ def history; end
1295
+ def history=(_arg0); end
1296
+ def history_file; end
1297
+ def history_file=(_arg0); end
1298
+ def history_ignorelist; end
1299
+ def history_ignorelist=(_arg0); end
1300
+ def history_load; end
1301
+ def history_load=(_arg0); end
1302
+ def history_save; end
1303
+ def history_save=(_arg0); end
1304
+ def hooks; end
1305
+ def hooks=(_arg0); end
1306
+ def input; end
1307
+ def input=(_arg0); end
1308
+ def ls; end
1309
+ def ls=(_arg0); end
1310
+ def memory_size; end
1311
+ def memory_size=(_arg0); end
1312
+ def merge(config_hash); end
1313
+ def merge!(config_hash); end
1314
+ def method_missing(method_name, *args, &_block); end
1315
+ def output; end
1316
+ def output=(_arg0); end
1317
+ def output_prefix; end
1318
+ def output_prefix=(_arg0); end
1319
+ def pager; end
1320
+ def pager=(_arg0); end
1321
+ def print; end
1322
+ def print=(_arg0); end
1323
+ def prompt; end
1324
+ def prompt=(_arg0); end
1325
+ def prompt_name; end
1326
+ def prompt_name=(_arg0); end
1327
+ def prompt_safe_contexts; end
1328
+ def prompt_safe_contexts=(_arg0); end
1329
+ def quiet; end
1330
+ def quiet=(_arg0); end
1331
+ def rc_file; end
1332
+ def rc_file=(_arg0); end
1333
+ def requires; end
1334
+ def requires=(_arg0); end
1335
+ def should_load_local_rc; end
1336
+ def should_load_local_rc=(_arg0); end
1337
+ def should_load_plugins; end
1338
+ def should_load_plugins=(_arg0); end
1339
+ def should_load_rc; end
1340
+ def should_load_rc=(_arg0); end
1341
+ def should_load_requires; end
1342
+ def should_load_requires=(_arg0); end
1343
+ def should_trap_interrupts; end
1344
+ def should_trap_interrupts=(_arg0); end
1345
+ def system; end
1346
+ def system=(_arg0); end
1347
+ def unrescued_exceptions; end
1348
+ def unrescued_exceptions=(_arg0); end
1349
+ def windows_console_warning; end
1350
+ def windows_console_warning=(_arg0); end
1351
+
1352
+ private
1353
+
1354
+ def default_rc_file; end
1355
+ def initialize_dup(other); end
1356
+ def lazy_readline; end
1357
+ def respond_to_missing?(method_name, include_all = T.unsafe(nil)); end
1358
+ end
1359
+
1360
+ module Pry::Config::Attributable
1361
+ def attribute(attr_name); end
1362
+ end
1363
+
1364
+ class Pry::Config::LazyValue
1365
+ def initialize(&block); end
1366
+
1367
+ def call; end
1368
+ end
1369
+
1370
+ class Pry::Config::MemoizedValue
1371
+ def initialize(&block); end
1372
+
1373
+ def call; end
1374
+ end
1375
+
1376
+ class Pry::Config::Value
1377
+ def initialize(value); end
1378
+
1379
+ def call; end
1380
+ end
1381
+
1382
+ module Pry::ControlDHandler
1383
+ class << self
1384
+ def default(pry_instance); end
1385
+ end
1386
+ end
1387
+
1388
+ Pry::EMPTY_COMPLETIONS = T.let(T.unsafe(nil), Array)
1389
+
1390
+ class Pry::Editor
1391
+ include ::Pry::Helpers::OptionsHelpers
1392
+ include ::Pry::Helpers::CommandHelpers
1393
+
1394
+ def initialize(pry_instance); end
1395
+
1396
+ def build_editor_invocation_string(file, line, blocking); end
1397
+ def edit_tempfile_with_content(initial_content, line = T.unsafe(nil)); end
1398
+ def invoke_editor(file, line, blocking = T.unsafe(nil)); end
1399
+ def pry_instance; end
1400
+
1401
+ private
1402
+
1403
+ def blocking_flag_for_editor(blocking); end
1404
+ def editor_name; end
1405
+ def open_editor(editor_invocation); end
1406
+ def open_editor_on_jruby(editor_invocation); end
1407
+ def start_line_syntax_for_editor(file_name, line_number); end
1408
+
1409
+ class << self
1410
+ def default; end
1411
+ end
1412
+ end
1413
+
1414
+ module Pry::Env
1415
+ class << self
1416
+ def [](key); end
1417
+ end
1418
+ end
1419
+
1420
+ module Pry::ExceptionHandler
1421
+ class << self
1422
+ def handle_exception(output, exception, _pry_instance); end
1423
+
1424
+ private
1425
+
1426
+ def cause_text(cause); end
1427
+ def exception_text(exception); end
1428
+ def standard_error_text_for(exception); end
1429
+ end
1430
+ end
1431
+
1432
+ module Pry::Forwardable
1433
+ include ::Forwardable
1434
+
1435
+ def def_private_delegators(target, *private_delegates); end
1436
+ end
1437
+
1438
+ module Pry::FrozenObjectException
1439
+ class << self
1440
+ def ===(exception); end
1441
+ end
1442
+ end
1443
+
1444
+ module Pry::Helpers
1445
+ class << self
1446
+ def tablify(things, line_length, pry_instance = T.unsafe(nil)); end
1447
+ def tablify_or_one_line(heading, things, pry_instance = T.unsafe(nil)); end
1448
+ def tablify_to_screen_width(things, options, pry_instance = T.unsafe(nil)); end
1449
+ end
1450
+ end
1451
+
1452
+ module Pry::Helpers::BaseHelpers
1453
+ extend ::Pry::Helpers::BaseHelpers
1454
+
1455
+ def colorize_code(code); end
1456
+ def find_command(name, set = T.unsafe(nil)); end
1457
+ def heading(text); end
1458
+ def highlight(string, regexp, highlight_color = T.unsafe(nil)); end
1459
+ def not_a_real_file?(file); end
1460
+ def safe_send(obj, method, *args, &block); end
1461
+ def silence_warnings; end
1462
+ def stagger_output(text, _out = T.unsafe(nil)); end
1463
+ def use_ansi_codes?; end
1464
+ end
1465
+
1466
+ module Pry::Helpers::CommandHelpers
1467
+ include ::Pry::Helpers::OptionsHelpers
1468
+ extend ::Pry::Helpers::OptionsHelpers
1469
+ extend ::Pry::Helpers::CommandHelpers
1470
+
1471
+ def absolute_index_number(line_number, array_length); end
1472
+ def absolute_index_range(range_or_number, array_length); end
1473
+ def get_method_or_raise(method_name, context, opts = T.unsafe(nil)); end
1474
+ def internal_binding?(context); end
1475
+ def one_index_number(line_number); end
1476
+ def one_index_range(range); end
1477
+ def one_index_range_or_number(range_or_number); end
1478
+ def restrict_to_lines(content, lines); end
1479
+ def set_file_and_dir_locals(file_name, pry = T.unsafe(nil), ctx = T.unsafe(nil)); end
1480
+ def temp_file(ext = T.unsafe(nil)); end
1481
+ def unindent(dirty_text, left_padding = T.unsafe(nil)); end
1482
+ end
1483
+
1484
+ module Pry::Helpers::DocumentationHelpers
1485
+ private
1486
+
1487
+ def get_comment_content(comment); end
1488
+ def process_comment_markup(comment); end
1489
+ def process_rdoc(comment); end
1490
+ def process_yardoc(comment); end
1491
+ def process_yardoc_tag(comment, tag); end
1492
+ def strip_comments_from_c_code(code); end
1493
+ def strip_leading_whitespace(text); end
1494
+
1495
+ class << self
1496
+ def get_comment_content(comment); end
1497
+ def process_comment_markup(comment); end
1498
+ def process_rdoc(comment); end
1499
+ def process_yardoc(comment); end
1500
+ def process_yardoc_tag(comment, tag); end
1501
+ def strip_comments_from_c_code(code); end
1502
+ def strip_leading_whitespace(text); end
1503
+ end
1504
+ end
1505
+
1506
+ Pry::Helpers::DocumentationHelpers::YARD_TAGS = T.let(T.unsafe(nil), Array)
1507
+
1508
+ module Pry::Helpers::OptionsHelpers
1509
+ private
1510
+
1511
+ def method_object; end
1512
+ def method_options(opt); end
1513
+
1514
+ class << self
1515
+ def method_object; end
1516
+ def method_options(opt); end
1517
+ end
1518
+ end
1519
+
1520
+ module Pry::Helpers::Platform
1521
+ class << self
1522
+ def jruby?; end
1523
+ def jruby_19?; end
1524
+ def linux?; end
1525
+ def mac_osx?; end
1526
+ def mri?; end
1527
+ def mri_19?; end
1528
+ def mri_2?; end
1529
+ def windows?; end
1530
+ def windows_ansi?; end
1531
+ end
1532
+ end
1533
+
1534
+ class Pry::Helpers::Table
1535
+ def initialize(items, args, pry_instance = T.unsafe(nil)); end
1536
+
1537
+ def ==(other); end
1538
+ def column_count; end
1539
+ def column_count=(count); end
1540
+ def columns; end
1541
+ def fits_on_line?(line_length); end
1542
+ def items; end
1543
+ def items=(items); end
1544
+ def rows_to_s(style = T.unsafe(nil)); end
1545
+ def to_a; end
1546
+ def to_s; end
1547
+
1548
+ private
1549
+
1550
+ def _max_width(things); end
1551
+ def _rebuild_colorless_cache; end
1552
+ def _recall_color_for(thing); end
1553
+ def _recolumn; end
1554
+ end
1555
+
1556
+ module Pry::Helpers::Text
1557
+ extend ::Pry::Helpers::Text
1558
+
1559
+ def black(text); end
1560
+ def black_on_black(text); end
1561
+ def black_on_blue(text); end
1562
+ def black_on_cyan(text); end
1563
+ def black_on_green(text); end
1564
+ def black_on_magenta(text); end
1565
+ def black_on_purple(text); end
1566
+ def black_on_red(text); end
1567
+ def black_on_white(text); end
1568
+ def black_on_yellow(text); end
1569
+ def blue(text); end
1570
+ def blue_on_black(text); end
1571
+ def blue_on_blue(text); end
1572
+ def blue_on_cyan(text); end
1573
+ def blue_on_green(text); end
1574
+ def blue_on_magenta(text); end
1575
+ def blue_on_purple(text); end
1576
+ def blue_on_red(text); end
1577
+ def blue_on_white(text); end
1578
+ def blue_on_yellow(text); end
1579
+ def bold(text); end
1580
+ def bright_black(text); end
1581
+ def bright_black_on_black(text); end
1582
+ def bright_black_on_blue(text); end
1583
+ def bright_black_on_cyan(text); end
1584
+ def bright_black_on_green(text); end
1585
+ def bright_black_on_magenta(text); end
1586
+ def bright_black_on_purple(text); end
1587
+ def bright_black_on_red(text); end
1588
+ def bright_black_on_white(text); end
1589
+ def bright_black_on_yellow(text); end
1590
+ def bright_blue(text); end
1591
+ def bright_blue_on_black(text); end
1592
+ def bright_blue_on_blue(text); end
1593
+ def bright_blue_on_cyan(text); end
1594
+ def bright_blue_on_green(text); end
1595
+ def bright_blue_on_magenta(text); end
1596
+ def bright_blue_on_purple(text); end
1597
+ def bright_blue_on_red(text); end
1598
+ def bright_blue_on_white(text); end
1599
+ def bright_blue_on_yellow(text); end
1600
+ def bright_cyan(text); end
1601
+ def bright_cyan_on_black(text); end
1602
+ def bright_cyan_on_blue(text); end
1603
+ def bright_cyan_on_cyan(text); end
1604
+ def bright_cyan_on_green(text); end
1605
+ def bright_cyan_on_magenta(text); end
1606
+ def bright_cyan_on_purple(text); end
1607
+ def bright_cyan_on_red(text); end
1608
+ def bright_cyan_on_white(text); end
1609
+ def bright_cyan_on_yellow(text); end
1610
+ def bright_green(text); end
1611
+ def bright_green_on_black(text); end
1612
+ def bright_green_on_blue(text); end
1613
+ def bright_green_on_cyan(text); end
1614
+ def bright_green_on_green(text); end
1615
+ def bright_green_on_magenta(text); end
1616
+ def bright_green_on_purple(text); end
1617
+ def bright_green_on_red(text); end
1618
+ def bright_green_on_white(text); end
1619
+ def bright_green_on_yellow(text); end
1620
+ def bright_magenta(text); end
1621
+ def bright_magenta_on_black(text); end
1622
+ def bright_magenta_on_blue(text); end
1623
+ def bright_magenta_on_cyan(text); end
1624
+ def bright_magenta_on_green(text); end
1625
+ def bright_magenta_on_magenta(text); end
1626
+ def bright_magenta_on_purple(text); end
1627
+ def bright_magenta_on_red(text); end
1628
+ def bright_magenta_on_white(text); end
1629
+ def bright_magenta_on_yellow(text); end
1630
+ def bright_purple(text); end
1631
+ def bright_purple_on_black(text); end
1632
+ def bright_purple_on_blue(text); end
1633
+ def bright_purple_on_cyan(text); end
1634
+ def bright_purple_on_green(text); end
1635
+ def bright_purple_on_magenta(text); end
1636
+ def bright_purple_on_purple(text); end
1637
+ def bright_purple_on_red(text); end
1638
+ def bright_purple_on_white(text); end
1639
+ def bright_purple_on_yellow(text); end
1640
+ def bright_red(text); end
1641
+ def bright_red_on_black(text); end
1642
+ def bright_red_on_blue(text); end
1643
+ def bright_red_on_cyan(text); end
1644
+ def bright_red_on_green(text); end
1645
+ def bright_red_on_magenta(text); end
1646
+ def bright_red_on_purple(text); end
1647
+ def bright_red_on_red(text); end
1648
+ def bright_red_on_white(text); end
1649
+ def bright_red_on_yellow(text); end
1650
+ def bright_white(text); end
1651
+ def bright_white_on_black(text); end
1652
+ def bright_white_on_blue(text); end
1653
+ def bright_white_on_cyan(text); end
1654
+ def bright_white_on_green(text); end
1655
+ def bright_white_on_magenta(text); end
1656
+ def bright_white_on_purple(text); end
1657
+ def bright_white_on_red(text); end
1658
+ def bright_white_on_white(text); end
1659
+ def bright_white_on_yellow(text); end
1660
+ def bright_yellow(text); end
1661
+ def bright_yellow_on_black(text); end
1662
+ def bright_yellow_on_blue(text); end
1663
+ def bright_yellow_on_cyan(text); end
1664
+ def bright_yellow_on_green(text); end
1665
+ def bright_yellow_on_magenta(text); end
1666
+ def bright_yellow_on_purple(text); end
1667
+ def bright_yellow_on_red(text); end
1668
+ def bright_yellow_on_white(text); end
1669
+ def bright_yellow_on_yellow(text); end
1670
+ def cyan(text); end
1671
+ def cyan_on_black(text); end
1672
+ def cyan_on_blue(text); end
1673
+ def cyan_on_cyan(text); end
1674
+ def cyan_on_green(text); end
1675
+ def cyan_on_magenta(text); end
1676
+ def cyan_on_purple(text); end
1677
+ def cyan_on_red(text); end
1678
+ def cyan_on_white(text); end
1679
+ def cyan_on_yellow(text); end
1680
+ def default(text); end
1681
+ def green(text); end
1682
+ def green_on_black(text); end
1683
+ def green_on_blue(text); end
1684
+ def green_on_cyan(text); end
1685
+ def green_on_green(text); end
1686
+ def green_on_magenta(text); end
1687
+ def green_on_purple(text); end
1688
+ def green_on_red(text); end
1689
+ def green_on_white(text); end
1690
+ def green_on_yellow(text); end
1691
+ def indent(text, chars); end
1692
+ def magenta(text); end
1693
+ def magenta_on_black(text); end
1694
+ def magenta_on_blue(text); end
1695
+ def magenta_on_cyan(text); end
1696
+ def magenta_on_green(text); end
1697
+ def magenta_on_magenta(text); end
1698
+ def magenta_on_purple(text); end
1699
+ def magenta_on_red(text); end
1700
+ def magenta_on_white(text); end
1701
+ def magenta_on_yellow(text); end
1702
+ def no_color; end
1703
+ def no_pager; end
1704
+ def purple(text); end
1705
+ def purple_on_black(text); end
1706
+ def purple_on_blue(text); end
1707
+ def purple_on_cyan(text); end
1708
+ def purple_on_green(text); end
1709
+ def purple_on_magenta(text); end
1710
+ def purple_on_purple(text); end
1711
+ def purple_on_red(text); end
1712
+ def purple_on_white(text); end
1713
+ def purple_on_yellow(text); end
1714
+ def red(text); end
1715
+ def red_on_black(text); end
1716
+ def red_on_blue(text); end
1717
+ def red_on_cyan(text); end
1718
+ def red_on_green(text); end
1719
+ def red_on_magenta(text); end
1720
+ def red_on_purple(text); end
1721
+ def red_on_red(text); end
1722
+ def red_on_white(text); end
1723
+ def red_on_yellow(text); end
1724
+ def strip_color(text); end
1725
+ def white(text); end
1726
+ def white_on_black(text); end
1727
+ def white_on_blue(text); end
1728
+ def white_on_cyan(text); end
1729
+ def white_on_green(text); end
1730
+ def white_on_magenta(text); end
1731
+ def white_on_purple(text); end
1732
+ def white_on_red(text); end
1733
+ def white_on_white(text); end
1734
+ def white_on_yellow(text); end
1735
+ def with_line_numbers(text, offset, color = T.unsafe(nil)); end
1736
+ def yellow(text); end
1737
+ def yellow_on_black(text); end
1738
+ def yellow_on_blue(text); end
1739
+ def yellow_on_cyan(text); end
1740
+ def yellow_on_green(text); end
1741
+ def yellow_on_magenta(text); end
1742
+ def yellow_on_purple(text); end
1743
+ def yellow_on_red(text); end
1744
+ def yellow_on_white(text); end
1745
+ def yellow_on_yellow(text); end
1746
+ end
1747
+
1748
+ Pry::Helpers::Text::COLORS = T.let(T.unsafe(nil), Hash)
1749
+
1750
+ class Pry::History
1751
+ def initialize(options = T.unsafe(nil)); end
1752
+
1753
+ def <<(line); end
1754
+ def clear; end
1755
+ def filter(history); end
1756
+ def history_line_count; end
1757
+ def load; end
1758
+ def loader; end
1759
+ def loader=(_arg0); end
1760
+ def original_lines; end
1761
+ def push(line); end
1762
+ def saver; end
1763
+ def saver=(_arg0); end
1764
+ def session_line_count; end
1765
+ def to_a; end
1766
+
1767
+ private
1768
+
1769
+ def history_file; end
1770
+ def history_file_path; end
1771
+ def invalid_readline_line?(line); end
1772
+ def read_from_file; end
1773
+ def save_to_file(line); end
1774
+ def should_ignore?(line); end
1775
+
1776
+ class << self
1777
+ def default_file; end
1778
+ end
1779
+ end
1780
+
1781
+ class Pry::Hooks
1782
+ def initialize; end
1783
+
1784
+ def add_hook(event_name, hook_name, callable = T.unsafe(nil), &block); end
1785
+ def clear_event_hooks(event_name); end
1786
+ def delete_hook(event_name, hook_name); end
1787
+ def errors; end
1788
+ def exec_hook(event_name, *args, &block); end
1789
+ def get_hook(event_name, hook_name); end
1790
+ def get_hooks(event_name); end
1791
+ def hook_count(event_name); end
1792
+ def hook_exists?(event_name, hook_name); end
1793
+ def merge(other); end
1794
+ def merge!(other); end
1795
+
1796
+ protected
1797
+
1798
+ def hooks; end
1799
+
1800
+ private
1801
+
1802
+ def initialize_copy(_orig); end
1803
+
1804
+ class << self
1805
+ def default; end
1806
+ end
1807
+ end
1808
+
1809
+ class Pry::Indent
1810
+ include ::Pry::Helpers::BaseHelpers
1811
+
1812
+ def initialize(pry_instance = T.unsafe(nil)); end
1813
+
1814
+ def correct_indentation(prompt, code, overhang = T.unsafe(nil)); end
1815
+ def current_prefix; end
1816
+ def end_of_statement?(last_token, last_kind); end
1817
+ def in_string?; end
1818
+ def indent(input); end
1819
+ def indent_level; end
1820
+ def indentation_delta(tokens); end
1821
+ def module_nesting; end
1822
+ def open_delimiters; end
1823
+ def open_delimiters_line; end
1824
+ def reset; end
1825
+ def stack; end
1826
+ def tokenize(string); end
1827
+ def track_delimiter(token); end
1828
+ def track_module_nesting(token, kind); end
1829
+ def track_module_nesting_end(token, kind = T.unsafe(nil)); end
1830
+
1831
+ class << self
1832
+ def indent(str); end
1833
+ def nesting_at(str, line_number); end
1834
+ end
1835
+ end
1836
+
1837
+ Pry::Indent::IGNORE_TOKENS = T.let(T.unsafe(nil), Array)
1838
+ Pry::Indent::MIDWAY_TOKENS = T.let(T.unsafe(nil), Array)
1839
+ Pry::Indent::OPEN_TOKENS = T.let(T.unsafe(nil), Hash)
1840
+ Pry::Indent::OPTIONAL_DO_TOKENS = T.let(T.unsafe(nil), Array)
1841
+ Pry::Indent::SINGLELINE_TOKENS = T.let(T.unsafe(nil), Array)
1842
+ Pry::Indent::SPACES = T.let(T.unsafe(nil), String)
1843
+ Pry::Indent::STATEMENT_END_TOKENS = T.let(T.unsafe(nil), Array)
1844
+ class Pry::Indent::UnparseableNestingError < ::StandardError; end
1845
+
1846
+ class Pry::InputCompleter
1847
+ def initialize(input, pry = T.unsafe(nil)); end
1848
+
1849
+ def build_path(input); end
1850
+ def call(str, options = T.unsafe(nil)); end
1851
+ def ignored_modules; end
1852
+ def select_message(path, receiver, message, candidates); end
1853
+ end
1854
+
1855
+ Pry::InputCompleter::ARRAY_REGEXP = T.let(T.unsafe(nil), Regexp)
1856
+ Pry::InputCompleter::CONSTANT_OR_METHOD_REGEXP = T.let(T.unsafe(nil), Regexp)
1857
+ Pry::InputCompleter::CONSTANT_REGEXP = T.let(T.unsafe(nil), Regexp)
1858
+ Pry::InputCompleter::GLOBALVARIABLE_REGEXP = T.let(T.unsafe(nil), Regexp)
1859
+ Pry::InputCompleter::HEX_REGEXP = T.let(T.unsafe(nil), Regexp)
1860
+ Pry::InputCompleter::NUMERIC_REGEXP = T.let(T.unsafe(nil), Regexp)
1861
+ Pry::InputCompleter::PROC_OR_HASH_REGEXP = T.let(T.unsafe(nil), Regexp)
1862
+ Pry::InputCompleter::REGEX_REGEXP = T.let(T.unsafe(nil), Regexp)
1863
+ Pry::InputCompleter::RESERVED_WORDS = T.let(T.unsafe(nil), Array)
1864
+ Pry::InputCompleter::SYMBOL_METHOD_CALL_REGEXP = T.let(T.unsafe(nil), Regexp)
1865
+ Pry::InputCompleter::SYMBOL_REGEXP = T.let(T.unsafe(nil), Regexp)
1866
+ Pry::InputCompleter::TOPLEVEL_LOOKUP_REGEXP = T.let(T.unsafe(nil), Regexp)
1867
+ Pry::InputCompleter::VARIABLE_REGEXP = T.let(T.unsafe(nil), Regexp)
1868
+ Pry::InputCompleter::WORD_ESCAPE_STR = T.let(T.unsafe(nil), String)
1869
+
1870
+ class Pry::InputLock
1871
+ def initialize; end
1872
+
1873
+ def __with_ownership; end
1874
+ def enter_interruptible_region; end
1875
+ def interruptible_region; end
1876
+ def leave_interruptible_region; end
1877
+ def with_ownership(&block); end
1878
+
1879
+ class << self
1880
+ def for(input); end
1881
+ def global_lock; end
1882
+ def global_lock=(_arg0); end
1883
+ def input_locks; end
1884
+ def input_locks=(_arg0); end
1885
+ end
1886
+ end
1887
+
1888
+ class Pry::InputLock::Interrupt < ::Exception; end
1889
+ class Pry::Inspector; end
1890
+ Pry::Inspector::MAP = T.let(T.unsafe(nil), Hash)
1891
+ Pry::LOCAL_RC_FILE = T.let(T.unsafe(nil), String)
1892
+
1893
+ class Pry::LastException < ::BasicObject
1894
+ def initialize(exception); end
1895
+
1896
+ def bt_index; end
1897
+ def bt_index=(_arg0); end
1898
+ def bt_source_location_for(index); end
1899
+ def file; end
1900
+ def inc_bt_index; end
1901
+ def line; end
1902
+ def method_missing(name, *args, &block); end
1903
+ def wrapped_exception; end
1904
+
1905
+ private
1906
+
1907
+ def respond_to_missing?(name, include_all = T.unsafe(nil)); end
1908
+ end
1909
+
1910
+ class Pry::Method
1911
+ include ::Pry::Helpers::BaseHelpers
1912
+ include ::Pry::Helpers::DocumentationHelpers
1913
+ include ::Pry::CodeObject::Helpers
1914
+ extend ::Pry::Helpers::BaseHelpers
1915
+ extend ::Forwardable
1916
+ extend ::Pry::Forwardable
1917
+
1918
+ def initialize(method, known_info = T.unsafe(nil)); end
1919
+
1920
+ def ==(other); end
1921
+ def alias?; end
1922
+ def aliases; end
1923
+ def bound_method?; end
1924
+ def comment; end
1925
+ def doc; end
1926
+ def dynamically_defined?; end
1927
+ def is_a?(klass); end
1928
+ def kind_of?(klass); end
1929
+ def method_missing(method_name, *args, &block); end
1930
+ def name; end
1931
+ def name_with_owner; end
1932
+ def original_name; end
1933
+ def owner(*args, &block); end
1934
+ def parameters(*args, &block); end
1935
+ def pry_method?; end
1936
+ def receiver(*args, &block); end
1937
+ def redefine(source); end
1938
+ def respond_to?(method_name, include_all = T.unsafe(nil)); end
1939
+ def signature; end
1940
+ def singleton_method?; end
1941
+ def source; end
1942
+ def source?; end
1943
+ def source_file; end
1944
+ def source_line; end
1945
+ def source_range; end
1946
+ def source_type; end
1947
+ def super(times = T.unsafe(nil)); end
1948
+ def unbound_method?; end
1949
+ def undefined?; end
1950
+ def visibility; end
1951
+ def wrapped; end
1952
+ def wrapped_owner; end
1953
+
1954
+ private
1955
+
1956
+ def c_source; end
1957
+ def method_name_from_first_line(first_ln); end
1958
+ def pry_doc_info; end
1959
+ def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end
1960
+ def ruby_source; end
1961
+ def super_using_ancestors(ancestors, times = T.unsafe(nil)); end
1962
+
1963
+ class << self
1964
+ def all_from_class(klass, include_super = T.unsafe(nil)); end
1965
+ def all_from_obj(obj, include_super = T.unsafe(nil)); end
1966
+ def from_binding(binding); end
1967
+ def from_class(klass, name, target = T.unsafe(nil)); end
1968
+ def from_module(klass, name, target = T.unsafe(nil)); end
1969
+ def from_obj(obj, name, target = T.unsafe(nil)); end
1970
+ def from_str(name, target = T.unsafe(nil), options = T.unsafe(nil)); end
1971
+ def instance_method_definition?(name, definition_line); end
1972
+ def instance_resolution_order(klass); end
1973
+ def lookup_method_via_binding(obj, method_name, method_type, target = T.unsafe(nil)); end
1974
+ def method_definition?(name, definition_line); end
1975
+ def resolution_order(obj); end
1976
+ def singleton_class_of(obj); end
1977
+ def singleton_class_resolution_order(klass); end
1978
+ def singleton_method_definition?(name, definition_line); end
1979
+ end
1980
+ end
1981
+
1982
+ class Pry::Method::Disowned < ::Pry::Method
1983
+ def initialize(receiver, method_name); end
1984
+
1985
+ def method_missing(method_name, *args, &block); end
1986
+ def name; end
1987
+ def owner; end
1988
+ def receiver; end
1989
+ def source?; end
1990
+ def undefined?; end
1991
+
1992
+ private
1993
+
1994
+ def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end
1995
+ end
1996
+
1997
+ class Pry::Method::Patcher
1998
+ def initialize(method); end
1999
+
2000
+ def method; end
2001
+ def method=(_arg0); end
2002
+ def patch_in_ram(source); end
2003
+
2004
+ private
2005
+
2006
+ def cache_key; end
2007
+ def definition_for_owner(line); end
2008
+ def redefine(source); end
2009
+ def with_method_transaction; end
2010
+ def wrap(source); end
2011
+ def wrap_for_nesting(source); end
2012
+ def wrap_for_owner(source); end
2013
+
2014
+ class << self
2015
+ def code_for(filename); end
2016
+ end
2017
+ end
2018
+
2019
+ class Pry::Method::WeirdMethodLocator
2020
+ def initialize(method, target); end
2021
+
2022
+ def find_method; end
2023
+ def lost_method?; end
2024
+ def method; end
2025
+ def method=(_arg0); end
2026
+ def target; end
2027
+ def target=(_arg0); end
2028
+
2029
+ private
2030
+
2031
+ def all_methods_for(obj); end
2032
+ def expanded_source_location(source_location); end
2033
+ def find_method_in_superclass; end
2034
+ def find_renamed_method; end
2035
+ def index_to_line_number(index); end
2036
+ def lines_for_file(file); end
2037
+ def normal_method?(method); end
2038
+ def pry_file?; end
2039
+ def renamed_method_source_location; end
2040
+ def skip_superclass_search?; end
2041
+ def target_file; end
2042
+ def target_line; end
2043
+ def target_self; end
2044
+ def valid_file?(file); end
2045
+
2046
+ class << self
2047
+ def normal_method?(method, binding); end
2048
+ def weird_method?(method, binding); end
2049
+ end
2050
+ end
2051
+
2052
+ class Pry::MethodNotFound < ::Pry::CommandError; end
2053
+
2054
+ class Pry::NoCommandError < ::StandardError
2055
+ def initialize(match, owner); end
2056
+ end
2057
+
2058
+ class Pry::ObjectPath
2059
+ def initialize(path_string, current_stack); end
2060
+
2061
+ def resolve; end
2062
+
2063
+ private
2064
+
2065
+ def complete?(segment); end
2066
+ def handle_failure(context, err); end
2067
+ end
2068
+
2069
+ Pry::ObjectPath::SPECIAL_TERMS = T.let(T.unsafe(nil), Array)
2070
+ class Pry::ObsoleteError < ::StandardError; end
2071
+
2072
+ class Pry::Output
2073
+ def initialize(pry_instance); end
2074
+
2075
+ def <<(*objs); end
2076
+ def decolorize_maybe(str); end
2077
+ def height; end
2078
+ def method_missing(method_name, *args, &block); end
2079
+ def print(*objs); end
2080
+ def pry_instance; end
2081
+ def puts(*objs); end
2082
+ def size; end
2083
+ def tty?; end
2084
+ def width; end
2085
+ def write(*objs); end
2086
+
2087
+ private
2088
+
2089
+ def actual_screen_size; end
2090
+ def ansicon_env_size; end
2091
+ def env_size; end
2092
+ def io_console_size; end
2093
+ def nonzero_column?(size); end
2094
+ def readline_size; end
2095
+ def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end
2096
+ end
2097
+
2098
+ Pry::Output::DEFAULT_SIZE = T.let(T.unsafe(nil), Array)
2099
+
2100
+ class Pry::Pager
2101
+ def initialize(pry_instance); end
2102
+
2103
+ def open; end
2104
+ def page(text); end
2105
+ def pry_instance; end
2106
+
2107
+ private
2108
+
2109
+ def best_available; end
2110
+ def enabled?; end
2111
+ def output; end
2112
+ end
2113
+
2114
+ class Pry::Pager::NullPager
2115
+ def initialize(out); end
2116
+
2117
+ def <<(str); end
2118
+ def close; end
2119
+ def print(str); end
2120
+ def puts(str); end
2121
+ def write(str); end
2122
+
2123
+ private
2124
+
2125
+ def height; end
2126
+ def width; end
2127
+ end
2128
+
2129
+ class Pry::Pager::PageTracker
2130
+ def initialize(rows, cols); end
2131
+
2132
+ def page?; end
2133
+ def record(str); end
2134
+ def reset; end
2135
+
2136
+ private
2137
+
2138
+ def line_length(line); end
2139
+ end
2140
+
2141
+ class Pry::Pager::SimplePager < ::Pry::Pager::NullPager
2142
+ def initialize(*_arg0); end
2143
+
2144
+ def write(str); end
2145
+ end
2146
+
2147
+ class Pry::Pager::StopPaging < ::StandardError; end
2148
+
2149
+ class Pry::Pager::SystemPager < ::Pry::Pager::NullPager
2150
+ def initialize(*_arg0); end
2151
+
2152
+ def close; end
2153
+ def write(str); end
2154
+
2155
+ private
2156
+
2157
+ def invoked_pager?; end
2158
+ def pager; end
2159
+ def write_to_pager(text); end
2160
+
2161
+ class << self
2162
+ def available?; end
2163
+ def default_pager; end
2164
+ end
2165
+ end
2166
+
2167
+ class Pry::PluginManager
2168
+ def initialize; end
2169
+
2170
+ def load_plugins; end
2171
+ def locate_plugins; end
2172
+ def plugins; end
2173
+
2174
+ private
2175
+
2176
+ def gem_list; end
2177
+ def plugin_located?(plugin); end
2178
+ end
2179
+
2180
+ class Pry::PluginManager::NoPlugin
2181
+ def initialize(name); end
2182
+
2183
+ def method_missing(*_arg0); end
2184
+
2185
+ private
2186
+
2187
+ def respond_to_missing?(*_arg0); end
2188
+ end
2189
+
2190
+ Pry::PluginManager::PRY_PLUGIN_PREFIX = T.let(T.unsafe(nil), Regexp)
2191
+
2192
+ class Pry::PluginManager::Plugin
2193
+ def initialize(name, gem_name, spec, enabled); end
2194
+
2195
+ def activate!; end
2196
+ def active; end
2197
+ def active=(_arg0); end
2198
+ def active?; end
2199
+ def disable!; end
2200
+ def enable!; end
2201
+ def enabled; end
2202
+ def enabled=(_arg0); end
2203
+ def enabled?; end
2204
+ def gem_name; end
2205
+ def gem_name=(_arg0); end
2206
+ def load_cli_options; end
2207
+ def name; end
2208
+ def name=(_arg0); end
2209
+ def spec; end
2210
+ def spec=(_arg0); end
2211
+ def supported?; end
2212
+ end
2213
+
2214
+ class Pry::Prompt
2215
+ def initialize(name, description, prompt_procs); end
2216
+
2217
+ def [](key); end
2218
+ def description; end
2219
+ def incomplete_proc; end
2220
+ def name; end
2221
+ def prompt_procs; end
2222
+ def wait_proc; end
2223
+
2224
+ class << self
2225
+ def [](name); end
2226
+ def add(name, description = T.unsafe(nil), separators = T.unsafe(nil)); end
2227
+ def all; end
2228
+ end
2229
+ end
2230
+
2231
+ class Pry::REPL
2232
+ extend ::Forwardable
2233
+ extend ::Pry::Forwardable
2234
+
2235
+ def initialize(pry, options = T.unsafe(nil)); end
2236
+
2237
+ def input(*args, &block); end
2238
+ def output(*args, &block); end
2239
+ def pry; end
2240
+ def pry=(_arg0); end
2241
+ def start; end
2242
+
2243
+ private
2244
+
2245
+ def calculate_overhang(current_prompt, original_val, indented_val); end
2246
+ def coolline_available?; end
2247
+ def epilogue; end
2248
+ def handle_read_errors; end
2249
+ def input_readline(*args); end
2250
+ def piping?; end
2251
+ def prologue; end
2252
+ def read; end
2253
+ def read_line(current_prompt); end
2254
+ def readline_available?; end
2255
+ def repl; end
2256
+ def set_readline_output; end
2257
+
2258
+ class << self
2259
+ def start(options); end
2260
+ end
2261
+ end
2262
+
2263
+ class Pry::REPLFileLoader
2264
+ def initialize(file_name); end
2265
+
2266
+ def define_additional_commands; end
2267
+ def interactive_mode(pry_instance); end
2268
+ def load; end
2269
+ def non_interactive_mode(pry_instance, content); end
2270
+ end
2271
+
2272
+ module Pry::RescuableException
2273
+ class << self
2274
+ def ===(exception); end
2275
+ end
2276
+ end
2277
+
2278
+ class Pry::Result
2279
+ def initialize(is_command, retval = T.unsafe(nil)); end
2280
+
2281
+ def command?; end
2282
+ def retval; end
2283
+ def void_command?; end
2284
+ end
2285
+
2286
+ class Pry::Ring
2287
+ def initialize(max_size); end
2288
+
2289
+ def <<(value); end
2290
+ def [](index); end
2291
+ def clear; end
2292
+ def count; end
2293
+ def max_size; end
2294
+ def size; end
2295
+ def to_a; end
2296
+
2297
+ private
2298
+
2299
+ def transpose_buffer_tail; end
2300
+ end
2301
+
2302
+ class Pry::Slop
2303
+ include ::Enumerable
2304
+
2305
+ def initialize(config = T.unsafe(nil), &block); end
2306
+
2307
+ def [](key); end
2308
+ def add_callback(label, &block); end
2309
+ def banner(banner = T.unsafe(nil)); end
2310
+ def banner=(banner); end
2311
+ def command(command, options = T.unsafe(nil), &block); end
2312
+ def config; end
2313
+ def description(desc = T.unsafe(nil)); end
2314
+ def description=(desc); end
2315
+ def each(&block); end
2316
+ def fetch_command(command); end
2317
+ def fetch_option(key); end
2318
+ def get(key); end
2319
+ def help; end
2320
+ def missing; end
2321
+ def on(*objects, &block); end
2322
+ def opt(*objects, &block); end
2323
+ def option(*objects, &block); end
2324
+ def options; end
2325
+ def parse(items = T.unsafe(nil), &block); end
2326
+ def parse!(items = T.unsafe(nil), &block); end
2327
+ def present?(*keys); end
2328
+ def run(callable = T.unsafe(nil), &block); end
2329
+ def separator(text); end
2330
+ def strict?; end
2331
+ def to_h(include_commands = T.unsafe(nil)); end
2332
+ def to_hash(include_commands = T.unsafe(nil)); end
2333
+ def to_s; end
2334
+
2335
+ private
2336
+
2337
+ def autocreate(items, index); end
2338
+ def build_option(objects, &block); end
2339
+ def clean(object); end
2340
+ def commands_to_help; end
2341
+ def execute_multiple_switches(option, argument, index); end
2342
+ def execute_option(option, argument, index, item = T.unsafe(nil)); end
2343
+ def extract_long_flag(objects, config); end
2344
+ def extract_option(flag); end
2345
+ def extract_short_flag(objects, config); end
2346
+ def method_missing(method, *args, &block); end
2347
+ def process_item(items, index, &block); end
2348
+ def respond_to_missing?(method_name, include_all = T.unsafe(nil)); end
2349
+
2350
+ class << self
2351
+ def optspec(string, config = T.unsafe(nil)); end
2352
+ def parse(items = T.unsafe(nil), config = T.unsafe(nil), &block); end
2353
+ def parse!(items = T.unsafe(nil), config = T.unsafe(nil), &block); end
2354
+ end
2355
+ end
2356
+
2357
+ class Pry::Slop::Commands
2358
+ include ::Enumerable
2359
+
2360
+ def initialize(config = T.unsafe(nil), &block); end
2361
+
2362
+ def [](key); end
2363
+ def arguments; end
2364
+ def banner(banner = T.unsafe(nil)); end
2365
+ def banner=(_arg0); end
2366
+ def commands; end
2367
+ def config; end
2368
+ def default(config = T.unsafe(nil), &block); end
2369
+ def each(&block); end
2370
+ def get(key); end
2371
+ def global(config = T.unsafe(nil), &block); end
2372
+ def help; end
2373
+ def inspect; end
2374
+ def on(command, config = T.unsafe(nil), &block); end
2375
+ def parse(items = T.unsafe(nil)); end
2376
+ def parse!(items = T.unsafe(nil)); end
2377
+ def present?(key); end
2378
+ def to_hash; end
2379
+ def to_s; end
2380
+
2381
+ private
2382
+
2383
+ def execute_arguments!(items); end
2384
+ def execute_global_opts!(items); end
2385
+ end
2386
+
2387
+ Pry::Slop::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash)
2388
+ class Pry::Slop::Error < ::StandardError; end
2389
+ class Pry::Slop::InvalidArgumentError < ::Pry::Slop::Error; end
2390
+ class Pry::Slop::InvalidCommandError < ::Pry::Slop::Error; end
2391
+ class Pry::Slop::InvalidOptionError < ::Pry::Slop::Error; end
2392
+ class Pry::Slop::MissingArgumentError < ::Pry::Slop::Error; end
2393
+ class Pry::Slop::MissingOptionError < ::Pry::Slop::Error; end
2394
+
2395
+ class Pry::Slop::Option
2396
+ def initialize(slop, short, long, description, config = T.unsafe(nil), &block); end
2397
+
2398
+ def accepts_optional_argument?; end
2399
+ def argument?; end
2400
+ def argument_in_value; end
2401
+ def argument_in_value=(_arg0); end
2402
+ def as?; end
2403
+ def autocreated?; end
2404
+ def call(*objects); end
2405
+ def callback?; end
2406
+ def config; end
2407
+ def count; end
2408
+ def count=(_arg0); end
2409
+ def default?; end
2410
+ def delimiter?; end
2411
+ def description; end
2412
+ def expects_argument?; end
2413
+ def help; end
2414
+ def inspect; end
2415
+ def key; end
2416
+ def limit?; end
2417
+ def long; end
2418
+ def match?; end
2419
+ def optional?; end
2420
+ def optional_argument?; end
2421
+ def required?; end
2422
+ def short; end
2423
+ def tail?; end
2424
+ def to_s; end
2425
+ def types; end
2426
+ def value; end
2427
+ def value=(new_value); end
2428
+
2429
+ private
2430
+
2431
+ def value_to_float(value); end
2432
+ def value_to_integer(value); end
2433
+ def value_to_range(value); end
2434
+ end
2435
+
2436
+ Pry::Slop::Option::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash)
2437
+ Pry::Slop::VERSION = T.let(T.unsafe(nil), String)
2438
+
2439
+ class Pry::SyntaxHighlighter
2440
+ class << self
2441
+ def highlight(code, language = T.unsafe(nil)); end
2442
+ def keyword_token_color; end
2443
+ def overwrite_coderay_comment_token!; end
2444
+ def tokenize(code, language = T.unsafe(nil)); end
2445
+ end
2446
+ end
2447
+
2448
+ module Pry::SystemCommandHandler
2449
+ class << self
2450
+ def default(output, command, _pry_instance); end
2451
+ end
2452
+ end
2453
+
2454
+ module Pry::TooSafeException
2455
+ class << self
2456
+ def ===(exception); end
2457
+ end
2458
+ end
2459
+
2460
+ module Pry::UserError; end
2461
+ Pry::VERSION = T.let(T.unsafe(nil), String)
2462
+
2463
+ module Pry::Warning
2464
+ class << self
2465
+ def warn(message); end
2466
+ end
2467
+ end
2468
+
2469
+ class Pry::WrappedModule
2470
+ include ::Pry::Helpers::BaseHelpers
2471
+ include ::Pry::CodeObject::Helpers
2472
+
2473
+ def initialize(mod); end
2474
+
2475
+ def candidate(rank); end
2476
+ def candidates; end
2477
+ def class?; end
2478
+ def constants(inherit = T.unsafe(nil)); end
2479
+ def doc; end
2480
+ def file; end
2481
+ def line; end
2482
+ def method_missing(method_name, *args, &block); end
2483
+ def method_prefix; end
2484
+ def module?; end
2485
+ def nonblank_name; end
2486
+ def number_of_candidates; end
2487
+ def singleton_class?; end
2488
+ def singleton_instance; end
2489
+ def source; end
2490
+ def source_file; end
2491
+ def source_line; end
2492
+ def source_location; end
2493
+ def super(times = T.unsafe(nil)); end
2494
+ def wrapped; end
2495
+ def yard_doc; end
2496
+ def yard_docs?; end
2497
+ def yard_file; end
2498
+ def yard_line; end
2499
+
2500
+ private
2501
+
2502
+ def all_methods_for(mod); end
2503
+ def all_relevant_methods_for(mod); end
2504
+ def all_source_locations_by_popularity; end
2505
+ def lines_for_file(file); end
2506
+ def method_candidates; end
2507
+ def method_defined_by_forwardable_module?(method); end
2508
+ def nested_module?(parent, name); end
2509
+ def primary_candidate; end
2510
+ def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end
2511
+
2512
+ class << self
2513
+ def from_str(mod_name, target = T.unsafe(nil)); end
2514
+
2515
+ private
2516
+
2517
+ def safe_to_evaluate?(str, target); end
2518
+ end
2519
+ end
2520
+
2521
+ class Pry::WrappedModule::Candidate
2522
+ include ::Pry::Helpers::DocumentationHelpers
2523
+ include ::Pry::CodeObject::Helpers
2524
+ extend ::Forwardable
2525
+ extend ::Pry::Forwardable
2526
+
2527
+ def initialize(wrapper, rank); end
2528
+
2529
+ def class?(*args, &block); end
2530
+ def doc; end
2531
+ def file; end
2532
+ def line; end
2533
+ def module?(*args, &block); end
2534
+ def nonblank_name(*args, &block); end
2535
+ def number_of_candidates(*args, &block); end
2536
+ def source; end
2537
+ def source_file; end
2538
+ def source_line; end
2539
+ def source_location; end
2540
+ def wrapped(*args, &block); end
2541
+
2542
+ private
2543
+
2544
+ def class_regexes; end
2545
+ def first_line_of_module_definition(file, line); end
2546
+ def first_method_source_location; end
2547
+ def last_method_source_location; end
2548
+ def lines_for_file(*a, &b); end
2549
+ def method_candidates(*a, &b); end
2550
+ def name(*a, &b); end
2551
+ def number_of_lines_in_first_chunk; end
2552
+ def yard_docs?(*a, &b); end
2553
+ end