dear_inventory 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +7 -0
  2. data/.env.example +2 -0
  3. data/.gitignore +15 -0
  4. data/.rspec +5 -0
  5. data/.rubocop.yml +84 -0
  6. data/.travis.yml +7 -0
  7. data/CODE_OF_CONDUCT.md +74 -0
  8. data/Gemfile +6 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +69 -0
  11. data/Rakefile +8 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +8 -0
  14. data/dear_inventory.gemspec +45 -0
  15. data/lib/dear_inventory.rb +79 -0
  16. data/lib/dear_inventory/config.rb +55 -0
  17. data/lib/dear_inventory/environment.rb +54 -0
  18. data/lib/dear_inventory/error.rb +16 -0
  19. data/lib/dear_inventory/errors/request.rb +40 -0
  20. data/lib/dear_inventory/errors/validation.rb +6 -0
  21. data/lib/dear_inventory/lib/date_time.rb +18 -0
  22. data/lib/dear_inventory/lib/endpoint_class.rb +57 -0
  23. data/lib/dear_inventory/lib/is_a_subclass.rb +19 -0
  24. data/lib/dear_inventory/model.rb +98 -0
  25. data/lib/dear_inventory/models/additional_attributes.rb +53 -0
  26. data/lib/dear_inventory/models/additional_charge.rb +45 -0
  27. data/lib/dear_inventory/models/address.rb +45 -0
  28. data/lib/dear_inventory/models/attachment.rb +33 -0
  29. data/lib/dear_inventory/models/inventory_movement.rb +29 -0
  30. data/lib/dear_inventory/models/sale.rb +217 -0
  31. data/lib/dear_inventory/models/sale_list.rb +133 -0
  32. data/lib/dear_inventory/models/sale_lists.rb +26 -0
  33. data/lib/dear_inventory/models/sales/credit_note.rb +75 -0
  34. data/lib/dear_inventory/models/sales/fulfilment.rb +46 -0
  35. data/lib/dear_inventory/models/sales/fulfilments/pick_pack.rb +26 -0
  36. data/lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb +57 -0
  37. data/lib/dear_inventory/models/sales/fulfilments/ship.rb +35 -0
  38. data/lib/dear_inventory/models/sales/fulfilments/ship_line.rb +45 -0
  39. data/lib/dear_inventory/models/sales/invoice.rb +86 -0
  40. data/lib/dear_inventory/models/sales/invoice_line.rb +19 -0
  41. data/lib/dear_inventory/models/sales/line.rb +59 -0
  42. data/lib/dear_inventory/models/sales/manual_journal.rb +24 -0
  43. data/lib/dear_inventory/models/sales/manual_journal_line.rb +35 -0
  44. data/lib/dear_inventory/models/sales/order.rb +49 -0
  45. data/lib/dear_inventory/models/sales/payment_line.rb +43 -0
  46. data/lib/dear_inventory/models/sales/quote.rb +50 -0
  47. data/lib/dear_inventory/models/shipping_address.rb +25 -0
  48. data/lib/dear_inventory/models/transaction.rb +41 -0
  49. data/lib/dear_inventory/parameters.rb +209 -0
  50. data/lib/dear_inventory/parameters/sale/index.rb +35 -0
  51. data/lib/dear_inventory/parameters/sale_list/index.rb +119 -0
  52. data/lib/dear_inventory/resource.rb +59 -0
  53. data/lib/dear_inventory/resources/sale.rb +22 -0
  54. data/lib/dear_inventory/resources/sale_list.rb +24 -0
  55. data/lib/dear_inventory/response.rb +75 -0
  56. data/lib/dear_inventory/validator.rb +61 -0
  57. data/lib/dear_inventory/validators/boolean.rb +18 -0
  58. data/lib/dear_inventory/validators/enum.rb +23 -0
  59. data/lib/dear_inventory/validators/guid.rb +27 -0
  60. data/lib/dear_inventory/validators/integer.rb +19 -0
  61. data/lib/dear_inventory/validators/required.rb +17 -0
  62. data/lib/dear_inventory/validators/string.rb +35 -0
  63. data/lib/dear_inventory/validators/time.rb +21 -0
  64. data/lib/dear_inventory/version.rb +6 -0
  65. data/sorbet/config +2 -0
  66. data/sorbet/rbi/gems/addressable.rbi +199 -0
  67. data/sorbet/rbi/gems/ast.rbi +48 -0
  68. data/sorbet/rbi/gems/byebug.rbi +1040 -0
  69. data/sorbet/rbi/gems/coderay.rbi +92 -0
  70. data/sorbet/rbi/gems/crack.rbi +48 -0
  71. data/sorbet/rbi/gems/domain_name.rbi +52 -0
  72. data/sorbet/rbi/gems/dotenv.rbi +68 -0
  73. data/sorbet/rbi/gems/ffi-compiler.rbi +27 -0
  74. data/sorbet/rbi/gems/ffi.rbi +560 -0
  75. data/sorbet/rbi/gems/hashdiff.rbi +66 -0
  76. data/sorbet/rbi/gems/http-cookie.rbi +93 -0
  77. data/sorbet/rbi/gems/http-form_data.rbi +76 -0
  78. data/sorbet/rbi/gems/http-parser.rbi +121 -0
  79. data/sorbet/rbi/gems/http.rbi +616 -0
  80. data/sorbet/rbi/gems/jaro_winkler.rbi +15 -0
  81. data/sorbet/rbi/gems/method_source.rbi +64 -0
  82. data/sorbet/rbi/gems/parallel.rbi +82 -0
  83. data/sorbet/rbi/gems/parser.rbi +857 -0
  84. data/sorbet/rbi/gems/pry-byebug.rbi +155 -0
  85. data/sorbet/rbi/gems/pry.rbi +1965 -0
  86. data/sorbet/rbi/gems/public_suffix.rbi +104 -0
  87. data/sorbet/rbi/gems/rainbow.rbi +118 -0
  88. data/sorbet/rbi/gems/rake.rbi +646 -0
  89. data/sorbet/rbi/gems/rspec-core.rbi +1732 -0
  90. data/sorbet/rbi/gems/rspec-expectations.rbi +388 -0
  91. data/sorbet/rbi/gems/rspec-mocks.rbi +820 -0
  92. data/sorbet/rbi/gems/rspec-support.rbi +269 -0
  93. data/sorbet/rbi/gems/rspec.rbi +15 -0
  94. data/sorbet/rbi/gems/rubocop-performance.rbi +277 -0
  95. data/sorbet/rbi/gems/rubocop-rspec.rbi +887 -0
  96. data/sorbet/rbi/gems/rubocop.rbi +6952 -0
  97. data/sorbet/rbi/gems/ruby-progressbar.rbi +305 -0
  98. data/sorbet/rbi/gems/unf.rbi +19 -0
  99. data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
  100. data/sorbet/rbi/gems/vcr.rbi +572 -0
  101. data/sorbet/rbi/gems/webmock.rbi +569 -0
  102. data/sorbet/rbi/hidden-definitions/errors.txt +11809 -0
  103. data/sorbet/rbi/hidden-definitions/hidden.rbi +20627 -0
  104. data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8684 -0
  105. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
  106. data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +4222 -0
  107. data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  108. data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  109. data/sorbet/rbi/todo.rbi +11 -0
  110. metadata +339 -0
@@ -0,0 +1,155 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/pry-byebug/all/pry-byebug.rbi
9
+ #
10
+ # pry-byebug-3.8.0
11
+
12
+ module PryByebug
13
+ def check_file_context(target, msg = nil); end
14
+ def current_remote_server; end
15
+ def current_remote_server=(arg0); end
16
+ def file_context?(target); end
17
+ def self.check_file_context(target, msg = nil); end
18
+ def self.file_context?(target); end
19
+ end
20
+ module PryByebug::Helpers
21
+ end
22
+ module PryByebug::Helpers::Location
23
+ def current_file(source = nil); end
24
+ def self.current_file(source = nil); end
25
+ end
26
+ module Byebug
27
+ end
28
+ class Byebug::PryProcessor < Byebug::CommandProcessor
29
+ def at_breakpoint(breakpoint); end
30
+ def at_end; end
31
+ def at_line; end
32
+ def at_return(_return_value); end
33
+ def bold(*args, &block); end
34
+ def n_hits(breakpoint); end
35
+ def output(*args, &block); end
36
+ def perform(action, options = nil); end
37
+ def perform_backtrace(_options); end
38
+ def perform_down(options); end
39
+ def perform_finish(*arg0); end
40
+ def perform_frame(options); end
41
+ def perform_next(options); end
42
+ def perform_step(options); end
43
+ def perform_up(options); end
44
+ def pry; end
45
+ def pry=(arg0); end
46
+ def resume_pry; end
47
+ def run(&_block); end
48
+ def self.start; end
49
+ extend Forwardable
50
+ end
51
+ class Pry
52
+ def self.start_with_pry_byebug(target = nil, options = nil); end
53
+ def self.start_without_pry_byebug(target = nil, options = nil); end
54
+ end
55
+ module PryByebug::Helpers::Navigation
56
+ def breakout_navigation(action, options = nil); end
57
+ end
58
+ class PryByebug::BacktraceCommand < Pry::ClassCommand
59
+ def process; end
60
+ include PryByebug::Helpers::Navigation
61
+ end
62
+ module PryByebug::Helpers::Multiline
63
+ def check_multiline_context; end
64
+ end
65
+ class PryByebug::NextCommand < Pry::ClassCommand
66
+ def process; end
67
+ include PryByebug::Helpers::Multiline
68
+ include PryByebug::Helpers::Navigation
69
+ end
70
+ class PryByebug::StepCommand < Pry::ClassCommand
71
+ def process; end
72
+ include PryByebug::Helpers::Navigation
73
+ end
74
+ module PryByebug::Helpers::Breakpoints
75
+ def bold_puts(msg); end
76
+ def breakpoints; end
77
+ def max_width; end
78
+ def print_breakpoints_header; end
79
+ def print_full_breakpoint(breakpoint); end
80
+ def print_short_breakpoint(breakpoint); end
81
+ end
82
+ class PryByebug::ContinueCommand < Pry::ClassCommand
83
+ def process; end
84
+ include PryByebug::Helpers::Breakpoints
85
+ include PryByebug::Helpers::Location
86
+ include PryByebug::Helpers::Navigation
87
+ end
88
+ class PryByebug::FinishCommand < Pry::ClassCommand
89
+ def process; end
90
+ include PryByebug::Helpers::Navigation
91
+ end
92
+ class PryByebug::UpCommand < Pry::ClassCommand
93
+ def process; end
94
+ include PryByebug::Helpers::Navigation
95
+ end
96
+ class PryByebug::DownCommand < Pry::ClassCommand
97
+ def process; end
98
+ include PryByebug::Helpers::Navigation
99
+ end
100
+ class PryByebug::FrameCommand < Pry::ClassCommand
101
+ def process; end
102
+ include PryByebug::Helpers::Navigation
103
+ end
104
+ module Pry::Byebug
105
+ end
106
+ module Pry::Byebug::Breakpoints
107
+ def add_file(file, line, expression = nil); end
108
+ def add_method(method, expression = nil); end
109
+ def breakpoints; end
110
+ def change(id, expression = nil); end
111
+ def change_status(id, enabled = nil); end
112
+ def delete(id); end
113
+ def delete_all; end
114
+ def disable(id); end
115
+ def disable_all; end
116
+ def each(&block); end
117
+ def enable(id); end
118
+ def find_by_id(id); end
119
+ def last; end
120
+ def size; end
121
+ def to_a; end
122
+ def validate_expression(exp); end
123
+ extend Enumerable
124
+ extend Pry::Byebug::Breakpoints
125
+ end
126
+ class Pry::Byebug::Breakpoints::FileBreakpoint < SimpleDelegator
127
+ def source_code; end
128
+ def to_s; end
129
+ end
130
+ class Pry::Byebug::Breakpoints::MethodBreakpoint < SimpleDelegator
131
+ def initialize(byebug_bp, method); end
132
+ def source_code; end
133
+ def to_s; end
134
+ end
135
+ class PryByebug::BreakCommand < Pry::ClassCommand
136
+ def add_breakpoint(place, condition); end
137
+ def new_breakpoint; end
138
+ def option_to_method(option); end
139
+ def options(opt); end
140
+ def print_all; end
141
+ def process; end
142
+ def process_condition; end
143
+ def process_delete; end
144
+ def process_delete_all; end
145
+ def process_disable; end
146
+ def process_disable_all; end
147
+ def process_enable; end
148
+ def process_show; end
149
+ include PryByebug::Helpers::Breakpoints
150
+ include PryByebug::Helpers::Location
151
+ include PryByebug::Helpers::Multiline
152
+ end
153
+ class PryByebug::ExitAllCommand < Pry::Command::ExitAll
154
+ def process; end
155
+ end
@@ -0,0 +1,1965 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/pry/all/pry.rbi
9
+ #
10
+ # pry-0.12.2
11
+
12
+ class Pry
13
+ def add_sticky_local(name, &block); end
14
+ def backtrace; end
15
+ def backtrace=(arg0); end
16
+ def binding_stack; end
17
+ def binding_stack=(arg0); end
18
+ def color; end
19
+ def color=(value); end
20
+ def command_state; end
21
+ def commands; end
22
+ def commands=(value); end
23
+ def complete(str); end
24
+ def config; end
25
+ def current_binding; end
26
+ def current_context; end
27
+ def custom_completions; end
28
+ def custom_completions=(arg0); end
29
+ def editor; end
30
+ def editor=(value); end
31
+ def ensure_correct_encoding!(val); end
32
+ def eval(line, options = nil); end
33
+ def eval_string; end
34
+ def eval_string=(arg0); end
35
+ def evaluate_ruby(code); end
36
+ def exception_handler; end
37
+ def exception_handler=(value); end
38
+ def exec_hook(name, *args, &block); end
39
+ def exit_value; end
40
+ def extra_sticky_locals; end
41
+ def extra_sticky_locals=(value); end
42
+ def generate_prompt(prompt_proc, conf); end
43
+ def handle_line(line, options); end
44
+ def hooks; end
45
+ def hooks=(value); end
46
+ def initialize(options = nil); end
47
+ def inject_local(name, value, b); end
48
+ def inject_sticky_locals!; end
49
+ def input; end
50
+ def input=(value); end
51
+ def input_array; end
52
+ def input_ring; end
53
+ def last_dir; end
54
+ def last_dir=(arg0); end
55
+ def last_exception; end
56
+ def last_exception=(e); end
57
+ def last_file; end
58
+ def last_file=(arg0); end
59
+ def last_result; end
60
+ def last_result=(arg0); end
61
+ def last_result_is_exception?; end
62
+ def memory_size; end
63
+ def memory_size=(size); end
64
+ def output; end
65
+ def output=(value); end
66
+ def output_array; end
67
+ def output_ring; end
68
+ def pager; end
69
+ def pager=(value); end
70
+ def pop_prompt; end
71
+ def print; end
72
+ def print=(value); end
73
+ def process_command(val); end
74
+ def process_command_safely(val); end
75
+ def prompt; end
76
+ def prompt=(new_prompt); end
77
+ def prompt_stack; end
78
+ def push_binding(object); end
79
+ def push_initial_binding(target = nil); end
80
+ def push_prompt(new_prompt); end
81
+ def quiet?; end
82
+ def raise_up!(*args); end
83
+ def raise_up(*args); end
84
+ def raise_up_common(force, *args); end
85
+ def repl(target = nil); end
86
+ def reset_eval_string; end
87
+ def run_command(val); end
88
+ def select_prompt; end
89
+ def self.Code(obj); end
90
+ def self.Method(obj); end
91
+ def self.WrappedModule(obj); end
92
+ def self.auto_resize!; end
93
+ def self.binding_for(target); end
94
+ def self.cli; end
95
+ def self.cli=(arg0); end
96
+ def self.color; end
97
+ def self.color=(value); end
98
+ def self.commands; end
99
+ def self.commands=(value); end
100
+ def self.config; end
101
+ def self.config=(arg0); end
102
+ def self.configure; end
103
+ def self.critical_section; end
104
+ def self.current; end
105
+ def self.current_line; end
106
+ def self.current_line=(arg0); end
107
+ def self.custom_completions; end
108
+ def self.custom_completions=(arg0); end
109
+ def self.default_editor_for_platform; end
110
+ def self.editor; end
111
+ def self.editor=(value); end
112
+ def self.eval_path; end
113
+ def self.eval_path=(arg0); end
114
+ def self.exception_handler; end
115
+ def self.exception_handler=(value); end
116
+ def self.extra_sticky_locals; end
117
+ def self.extra_sticky_locals=(value); end
118
+ def self.final_session_setup; end
119
+ def self.history; end
120
+ def self.history=(arg0); end
121
+ def self.hooks; end
122
+ def self.hooks=(value); end
123
+ def self.in_critical_section?; end
124
+ def self.init; end
125
+ def self.initial_session?; end
126
+ def self.initial_session_setup; end
127
+ def self.input; end
128
+ def self.input=(value); end
129
+ def self.last_internal_error; end
130
+ def self.last_internal_error=(arg0); end
131
+ def self.lazy(&block); end
132
+ def self.line_buffer; end
133
+ def self.line_buffer=(arg0); end
134
+ def self.load_file_at_toplevel(file); end
135
+ def self.load_file_through_repl(file_name); end
136
+ def self.load_history; end
137
+ def self.load_plugins(*args, &block); end
138
+ def self.load_rc_files; end
139
+ def self.load_requires; end
140
+ def self.load_traps; end
141
+ def self.load_win32console; end
142
+ def self.locate_plugins(*args, &block); end
143
+ def self.main; end
144
+ def self.memory_size; end
145
+ def self.memory_size=(value); end
146
+ def self.output; end
147
+ def self.output=(value); end
148
+ def self.pager; end
149
+ def self.pager=(value); end
150
+ def self.plugins(*args, &block); end
151
+ def self.print; end
152
+ def self.print=(value); end
153
+ def self.prompt; end
154
+ def self.prompt=(value); end
155
+ def self.quiet; end
156
+ def self.quiet=(arg0); end
157
+ def self.rc_files_to_load; end
158
+ def self.real_path_to(file); end
159
+ def self.reset_defaults; end
160
+ def self.run_command(command_string, options = nil); end
161
+ def self.start(target = nil, options = nil); end
162
+ def self.toplevel_binding; end
163
+ def self.toplevel_binding=(binding); end
164
+ def self.view_clip(obj, options = nil); end
165
+ def set_last_result(result, code = nil); end
166
+ def should_print?; end
167
+ def show_result(result); end
168
+ def sticky_locals; end
169
+ def suppress_output; end
170
+ def suppress_output=(arg0); end
171
+ def update_input_history(code); end
172
+ extend Pry::Config::Convenience
173
+ end
174
+ module Pry::Forwardable
175
+ def def_private_delegators(target, *private_delegates); end
176
+ include Forwardable
177
+ end
178
+ class Pry::InputLock
179
+ def __with_ownership(&block); end
180
+ def enter_interruptible_region; end
181
+ def initialize; end
182
+ def interruptible_region(&block); end
183
+ def leave_interruptible_region; end
184
+ def self.for(input); end
185
+ def self.global_lock; end
186
+ def self.global_lock=(arg0); end
187
+ def self.input_locks; end
188
+ def self.input_locks=(arg0); end
189
+ def with_ownership(&block); end
190
+ end
191
+ class Pry::InputLock::Interrupt < Exception
192
+ end
193
+ module Pry::RescuableException
194
+ def self.===(exception); end
195
+ end
196
+ module Pry::TooSafeException
197
+ def self.===(exception); end
198
+ end
199
+ module Pry::UserError
200
+ end
201
+ module Pry::FrozenObjectException
202
+ def self.===(exception); end
203
+ end
204
+ class Pry::CommandError < StandardError
205
+ end
206
+ class Pry::MethodNotFound < Pry::CommandError
207
+ end
208
+ class Pry::ObsoleteError < StandardError
209
+ end
210
+ module Pry::ExtendCommandBundle
211
+ end
212
+ module Pry::Platform
213
+ def jruby?; end
214
+ def jruby_19?; end
215
+ def linux?; end
216
+ def mac_osx?; end
217
+ def mri?; end
218
+ def mri_19?; end
219
+ def mri_2?; end
220
+ def windows?; end
221
+ def windows_ansi?; end
222
+ extend Pry::Platform
223
+ end
224
+ module Pry::Helpers
225
+ def self.tablify(things, line_length, config = nil); end
226
+ def self.tablify_or_one_line(heading, things, config = nil); end
227
+ def self.tablify_to_screen_width(things, options, config = nil); end
228
+ end
229
+ module Pry::Helpers::BaseHelpers
230
+ def colorize_code(code); end
231
+ def command_dependencies_met?(options); end
232
+ def find_command(name, set = nil); end
233
+ def heading(text); end
234
+ def highlight(string, regexp, highlight_color = nil); end
235
+ def jruby?; end
236
+ def jruby_19?; end
237
+ def linux?; end
238
+ def mac_osx?; end
239
+ def mri?; end
240
+ def mri_19?; end
241
+ def mri_2?; end
242
+ def not_a_real_file?(file); end
243
+ def safe_send(obj, method, *args, &block); end
244
+ def silence_warnings; end
245
+ def stagger_output(text, _out = nil); end
246
+ def use_ansi_codes?; end
247
+ def windows?; end
248
+ def windows_ansi?; end
249
+ extend Pry::Helpers::BaseHelpers
250
+ end
251
+ class Pry::Hooks
252
+ def add_hook(event_name, hook_name, callable = nil, &block); end
253
+ def clear_event_hooks(event_name); end
254
+ def delete_hook(event_name, hook_name); end
255
+ def errors; end
256
+ def exec_hook(event_name, *args, &block); end
257
+ def get_hook(event_name, hook_name); end
258
+ def get_hooks(event_name); end
259
+ def hook_count(event_name); end
260
+ def hook_exists?(event_name, hook_name); end
261
+ def hooks; end
262
+ def initialize; end
263
+ def initialize_copy(_orig); end
264
+ def merge!(other); end
265
+ def merge(other); end
266
+ end
267
+ class Pry::Slop
268
+ def [](key); end
269
+ def add_callback(label, &block); end
270
+ def autocreate(items, index); end
271
+ def banner(banner = nil); end
272
+ def banner=(banner); end
273
+ def build_option(objects, &block); end
274
+ def clean(object); end
275
+ def command(command, options = nil, &block); end
276
+ def commands_to_help; end
277
+ def config; end
278
+ def description(desc = nil); end
279
+ def description=(desc); end
280
+ def each(&block); end
281
+ def execute_multiple_switches(option, argument, index); end
282
+ def execute_option(option, argument, index, item = nil); end
283
+ def extract_long_flag(objects, config); end
284
+ def extract_option(flag); end
285
+ def extract_short_flag(objects, config); end
286
+ def fetch_command(command); end
287
+ def fetch_option(key); end
288
+ def get(key); end
289
+ def help; end
290
+ def initialize(config = nil, &block); end
291
+ def method_missing(method, *args, &block); end
292
+ def missing; end
293
+ def on(*objects, &block); end
294
+ def opt(*objects, &block); end
295
+ def option(*objects, &block); end
296
+ def options; end
297
+ def parse!(items = nil, &block); end
298
+ def parse(items = nil, &block); end
299
+ def present?(*keys); end
300
+ def process_item(items, index, &block); end
301
+ def respond_to_missing?(method_name, include_all = nil); end
302
+ def run(callable = nil, &block); end
303
+ def self.optspec(string, config = nil); end
304
+ def self.parse!(items = nil, config = nil, &block); end
305
+ def self.parse(items = nil, config = nil, &block); end
306
+ def separator(text); end
307
+ def strict?; end
308
+ def to_h(include_commands = nil); end
309
+ def to_hash(include_commands = nil); end
310
+ def to_s; end
311
+ include Enumerable
312
+ end
313
+ class Pry::Slop::Option
314
+ def accepts_optional_argument?; end
315
+ def argument?; end
316
+ def argument_in_value; end
317
+ def argument_in_value=(arg0); end
318
+ def as?; end
319
+ def autocreated?; end
320
+ def call(*objects); end
321
+ def callback?; end
322
+ def config; end
323
+ def count; end
324
+ def count=(arg0); end
325
+ def default?; end
326
+ def delimiter?; end
327
+ def description; end
328
+ def expects_argument?; end
329
+ def help; end
330
+ def initialize(slop, short, long, description, config = nil, &block); end
331
+ def inspect; end
332
+ def key; end
333
+ def limit?; end
334
+ def long; end
335
+ def match?; end
336
+ def optional?; end
337
+ def optional_argument?; end
338
+ def required?; end
339
+ def short; end
340
+ def tail?; end
341
+ def to_s; end
342
+ def types; end
343
+ def value; end
344
+ def value=(new_value); end
345
+ def value_to_float(value); end
346
+ def value_to_integer(value); end
347
+ def value_to_range(value); end
348
+ end
349
+ class Pry::Slop::Commands
350
+ def [](key); end
351
+ def arguments; end
352
+ def banner(banner = nil); end
353
+ def banner=(arg0); end
354
+ def commands; end
355
+ def config; end
356
+ def default(config = nil, &block); end
357
+ def each(&block); end
358
+ def execute_arguments!(items); end
359
+ def execute_global_opts!(items); end
360
+ def get(key); end
361
+ def global(config = nil, &block); end
362
+ def help; end
363
+ def initialize(config = nil, &block); end
364
+ def inspect; end
365
+ def on(command, config = nil, &block); end
366
+ def parse!(items = nil); end
367
+ def parse(items = nil); end
368
+ def present?(key); end
369
+ def to_hash; end
370
+ def to_s; end
371
+ include Enumerable
372
+ end
373
+ class Pry::Slop::Error < StandardError
374
+ end
375
+ class Pry::Slop::MissingArgumentError < Pry::Slop::Error
376
+ end
377
+ class Pry::Slop::MissingOptionError < Pry::Slop::Error
378
+ end
379
+ class Pry::Slop::InvalidArgumentError < Pry::Slop::Error
380
+ end
381
+ class Pry::Slop::InvalidOptionError < Pry::Slop::Error
382
+ end
383
+ class Pry::Slop::InvalidCommandError < Pry::Slop::Error
384
+ end
385
+ class Pry::REPL
386
+ def calculate_overhang(current_prompt, original_val, indented_val); end
387
+ def coolline_available?; end
388
+ def epilogue; end
389
+ def handle_read_errors; end
390
+ def initialize(pry, options = nil); end
391
+ def input(*args, &block); end
392
+ def input_readline(*args); end
393
+ def output(*args, &block); end
394
+ def piping?; end
395
+ def prologue; end
396
+ def pry; end
397
+ def pry=(arg0); end
398
+ def read; end
399
+ def read_line(current_prompt); end
400
+ def readline_available?; end
401
+ def repl; end
402
+ def self.start(options); end
403
+ def set_readline_output; end
404
+ def start; end
405
+ extend Pry::Forwardable
406
+ end
407
+ class Pry::Code
408
+ def <<(line, lineno = nil); end
409
+ def ==(other); end
410
+ def after(lineno, lines = nil); end
411
+ def alter(&block); end
412
+ def around(lineno, lines = nil); end
413
+ def before(lineno, lines = nil); end
414
+ def between(start_line, end_line = nil); end
415
+ def code_type; end
416
+ def code_type=(arg0); end
417
+ def comment_describing(line_number); end
418
+ def expression_at(line_number, consume = nil); end
419
+ def grep(pattern); end
420
+ def highlighted; end
421
+ def initialize(lines = nil, start_line = nil, code_type = nil); end
422
+ def inspect; end
423
+ def length; end
424
+ def max_lineno_width; end
425
+ def method_missing(name, *args, &block); end
426
+ def nesting_at(line_number); end
427
+ def print_to_output(output, color = nil); end
428
+ def push(line, lineno = nil); end
429
+ def raw; end
430
+ def respond_to_missing?(name, include_all = nil); end
431
+ def select(&block); end
432
+ def self.from_file(filename, code_type = nil); end
433
+ def self.from_method(meth, start_line = nil); end
434
+ def self.from_module(mod, candidate_rank = nil, start_line = nil); end
435
+ def take_lines(start_line, num_lines); end
436
+ def to_s; end
437
+ def with_indentation(spaces = nil); end
438
+ def with_line_numbers(y_n = nil); end
439
+ def with_marker(lineno = nil); end
440
+ end
441
+ class Pry::Code::LOC
442
+ def ==(other); end
443
+ def add_line_number(max_width = nil, color = nil); end
444
+ def add_marker(marker_lineno); end
445
+ def colorize(code_type); end
446
+ def dup; end
447
+ def handle_multiline_entries_from_edit_command(line, max_width); end
448
+ def indent(distance); end
449
+ def initialize(line, lineno); end
450
+ def line; end
451
+ def lineno; end
452
+ def tuple; end
453
+ end
454
+ class Pry::Code::CodeRange
455
+ def end_line; end
456
+ def find_end_index(lines); end
457
+ def find_start_index(lines); end
458
+ def force_set_end_line; end
459
+ def indices(lines); end
460
+ def indices_range(lines); end
461
+ def initialize(start_line, end_line = nil); end
462
+ def set_end_line_from_range; end
463
+ def start_line; end
464
+ end
465
+ class Pry::CodeFile
466
+ def abs_path; end
467
+ def code; end
468
+ def code_path; end
469
+ def code_type; end
470
+ def from_load_path; end
471
+ def from_pry_init_pwd; end
472
+ def from_pwd; end
473
+ def initialize(filename, code_type = nil); end
474
+ def readable?(path); end
475
+ def type_from_filename(filename, default = nil); end
476
+ end
477
+ class Pry::Ring
478
+ def <<(value); end
479
+ def [](index); end
480
+ def clear; end
481
+ def count; end
482
+ def initialize(max_size); end
483
+ def max_size; end
484
+ def size; end
485
+ def to_a; end
486
+ end
487
+ module Pry::Helpers::OptionsHelpers
488
+ def method_object; end
489
+ def method_options(opt); end
490
+ def self.method_object; end
491
+ def self.method_options(opt); end
492
+ end
493
+ module Pry::Helpers::CommandHelpers
494
+ def absolute_index_number(line_number, array_length); end
495
+ def absolute_index_range(range_or_number, array_length); end
496
+ def command_error(message, omit_help, klass = nil); end
497
+ def get_method_or_raise(name, target, opts = nil, omit_help = nil); end
498
+ def internal_binding?(target); end
499
+ def one_index_number(line_number); end
500
+ def one_index_range(range); end
501
+ def one_index_range_or_number(range_or_number); end
502
+ def restrict_to_lines(content, lines); end
503
+ def self.absolute_index_number(line_number, array_length); end
504
+ def self.absolute_index_range(range_or_number, array_length); end
505
+ def self.command_error(message, omit_help, klass = nil); end
506
+ def self.get_method_or_raise(name, target, opts = nil, omit_help = nil); end
507
+ def self.internal_binding?(target); end
508
+ def self.one_index_number(line_number); end
509
+ def self.one_index_range(range); end
510
+ def self.one_index_range_or_number(range_or_number); end
511
+ def self.restrict_to_lines(content, lines); end
512
+ def self.set_file_and_dir_locals(file_name, _pry_ = nil, target = nil); end
513
+ def self.temp_file(ext = nil); end
514
+ def self.unindent(text, left_padding = nil); end
515
+ def set_file_and_dir_locals(file_name, _pry_ = nil, target = nil); end
516
+ def temp_file(ext = nil); end
517
+ def unindent(text, left_padding = nil); end
518
+ include Pry::Helpers::OptionsHelpers
519
+ end
520
+ module Pry::Helpers::Text
521
+ def black(text); end
522
+ def black_on_black(text); end
523
+ def black_on_blue(text); end
524
+ def black_on_cyan(text); end
525
+ def black_on_green(text); end
526
+ def black_on_magenta(text); end
527
+ def black_on_purple(text); end
528
+ def black_on_red(text); end
529
+ def black_on_white(text); end
530
+ def black_on_yellow(text); end
531
+ def blue(text); end
532
+ def blue_on_black(text); end
533
+ def blue_on_blue(text); end
534
+ def blue_on_cyan(text); end
535
+ def blue_on_green(text); end
536
+ def blue_on_magenta(text); end
537
+ def blue_on_purple(text); end
538
+ def blue_on_red(text); end
539
+ def blue_on_white(text); end
540
+ def blue_on_yellow(text); end
541
+ def bold(text); end
542
+ def bright_black(text); end
543
+ def bright_black_on_black(text); end
544
+ def bright_black_on_blue(text); end
545
+ def bright_black_on_cyan(text); end
546
+ def bright_black_on_green(text); end
547
+ def bright_black_on_magenta(text); end
548
+ def bright_black_on_purple(text); end
549
+ def bright_black_on_red(text); end
550
+ def bright_black_on_white(text); end
551
+ def bright_black_on_yellow(text); end
552
+ def bright_blue(text); end
553
+ def bright_blue_on_black(text); end
554
+ def bright_blue_on_blue(text); end
555
+ def bright_blue_on_cyan(text); end
556
+ def bright_blue_on_green(text); end
557
+ def bright_blue_on_magenta(text); end
558
+ def bright_blue_on_purple(text); end
559
+ def bright_blue_on_red(text); end
560
+ def bright_blue_on_white(text); end
561
+ def bright_blue_on_yellow(text); end
562
+ def bright_cyan(text); end
563
+ def bright_cyan_on_black(text); end
564
+ def bright_cyan_on_blue(text); end
565
+ def bright_cyan_on_cyan(text); end
566
+ def bright_cyan_on_green(text); end
567
+ def bright_cyan_on_magenta(text); end
568
+ def bright_cyan_on_purple(text); end
569
+ def bright_cyan_on_red(text); end
570
+ def bright_cyan_on_white(text); end
571
+ def bright_cyan_on_yellow(text); end
572
+ def bright_green(text); end
573
+ def bright_green_on_black(text); end
574
+ def bright_green_on_blue(text); end
575
+ def bright_green_on_cyan(text); end
576
+ def bright_green_on_green(text); end
577
+ def bright_green_on_magenta(text); end
578
+ def bright_green_on_purple(text); end
579
+ def bright_green_on_red(text); end
580
+ def bright_green_on_white(text); end
581
+ def bright_green_on_yellow(text); end
582
+ def bright_magenta(text); end
583
+ def bright_magenta_on_black(text); end
584
+ def bright_magenta_on_blue(text); end
585
+ def bright_magenta_on_cyan(text); end
586
+ def bright_magenta_on_green(text); end
587
+ def bright_magenta_on_magenta(text); end
588
+ def bright_magenta_on_purple(text); end
589
+ def bright_magenta_on_red(text); end
590
+ def bright_magenta_on_white(text); end
591
+ def bright_magenta_on_yellow(text); end
592
+ def bright_purple(text); end
593
+ def bright_purple_on_black(text); end
594
+ def bright_purple_on_blue(text); end
595
+ def bright_purple_on_cyan(text); end
596
+ def bright_purple_on_green(text); end
597
+ def bright_purple_on_magenta(text); end
598
+ def bright_purple_on_purple(text); end
599
+ def bright_purple_on_red(text); end
600
+ def bright_purple_on_white(text); end
601
+ def bright_purple_on_yellow(text); end
602
+ def bright_red(text); end
603
+ def bright_red_on_black(text); end
604
+ def bright_red_on_blue(text); end
605
+ def bright_red_on_cyan(text); end
606
+ def bright_red_on_green(text); end
607
+ def bright_red_on_magenta(text); end
608
+ def bright_red_on_purple(text); end
609
+ def bright_red_on_red(text); end
610
+ def bright_red_on_white(text); end
611
+ def bright_red_on_yellow(text); end
612
+ def bright_white(text); end
613
+ def bright_white_on_black(text); end
614
+ def bright_white_on_blue(text); end
615
+ def bright_white_on_cyan(text); end
616
+ def bright_white_on_green(text); end
617
+ def bright_white_on_magenta(text); end
618
+ def bright_white_on_purple(text); end
619
+ def bright_white_on_red(text); end
620
+ def bright_white_on_white(text); end
621
+ def bright_white_on_yellow(text); end
622
+ def bright_yellow(text); end
623
+ def bright_yellow_on_black(text); end
624
+ def bright_yellow_on_blue(text); end
625
+ def bright_yellow_on_cyan(text); end
626
+ def bright_yellow_on_green(text); end
627
+ def bright_yellow_on_magenta(text); end
628
+ def bright_yellow_on_purple(text); end
629
+ def bright_yellow_on_red(text); end
630
+ def bright_yellow_on_white(text); end
631
+ def bright_yellow_on_yellow(text); end
632
+ def cyan(text); end
633
+ def cyan_on_black(text); end
634
+ def cyan_on_blue(text); end
635
+ def cyan_on_cyan(text); end
636
+ def cyan_on_green(text); end
637
+ def cyan_on_magenta(text); end
638
+ def cyan_on_purple(text); end
639
+ def cyan_on_red(text); end
640
+ def cyan_on_white(text); end
641
+ def cyan_on_yellow(text); end
642
+ def default(text); end
643
+ def green(text); end
644
+ def green_on_black(text); end
645
+ def green_on_blue(text); end
646
+ def green_on_cyan(text); end
647
+ def green_on_green(text); end
648
+ def green_on_magenta(text); end
649
+ def green_on_purple(text); end
650
+ def green_on_red(text); end
651
+ def green_on_white(text); end
652
+ def green_on_yellow(text); end
653
+ def indent(text, chars); end
654
+ def magenta(text); end
655
+ def magenta_on_black(text); end
656
+ def magenta_on_blue(text); end
657
+ def magenta_on_cyan(text); end
658
+ def magenta_on_green(text); end
659
+ def magenta_on_magenta(text); end
660
+ def magenta_on_purple(text); end
661
+ def magenta_on_red(text); end
662
+ def magenta_on_white(text); end
663
+ def magenta_on_yellow(text); end
664
+ def no_color; end
665
+ def no_pager; end
666
+ def purple(text); end
667
+ def purple_on_black(text); end
668
+ def purple_on_blue(text); end
669
+ def purple_on_cyan(text); end
670
+ def purple_on_green(text); end
671
+ def purple_on_magenta(text); end
672
+ def purple_on_purple(text); end
673
+ def purple_on_red(text); end
674
+ def purple_on_white(text); end
675
+ def purple_on_yellow(text); end
676
+ def red(text); end
677
+ def red_on_black(text); end
678
+ def red_on_blue(text); end
679
+ def red_on_cyan(text); end
680
+ def red_on_green(text); end
681
+ def red_on_magenta(text); end
682
+ def red_on_purple(text); end
683
+ def red_on_red(text); end
684
+ def red_on_white(text); end
685
+ def red_on_yellow(text); end
686
+ def strip_color(text); end
687
+ def white(text); end
688
+ def white_on_black(text); end
689
+ def white_on_blue(text); end
690
+ def white_on_cyan(text); end
691
+ def white_on_green(text); end
692
+ def white_on_magenta(text); end
693
+ def white_on_purple(text); end
694
+ def white_on_red(text); end
695
+ def white_on_white(text); end
696
+ def white_on_yellow(text); end
697
+ def with_line_numbers(text, offset, color = nil); end
698
+ def yellow(text); end
699
+ def yellow_on_black(text); end
700
+ def yellow_on_blue(text); end
701
+ def yellow_on_cyan(text); end
702
+ def yellow_on_green(text); end
703
+ def yellow_on_magenta(text); end
704
+ def yellow_on_purple(text); end
705
+ def yellow_on_red(text); end
706
+ def yellow_on_white(text); end
707
+ def yellow_on_yellow(text); end
708
+ extend Pry::Helpers::Text
709
+ end
710
+ class Pry::Helpers::Table
711
+ def ==(other); end
712
+ def _max_width(things); end
713
+ def _rebuild_colorless_cache; end
714
+ def _recall_color_for(thing); end
715
+ def _recolumn; end
716
+ def column_count; end
717
+ def column_count=(n); end
718
+ def columns; end
719
+ def fits_on_line?(line_length); end
720
+ def initialize(items, args, config = nil); end
721
+ def items; end
722
+ def items=(items); end
723
+ def rows_to_s(style = nil); end
724
+ def to_a; end
725
+ def to_s; end
726
+ end
727
+ module Pry::Helpers::Platform
728
+ def self.jruby?; end
729
+ def self.jruby_19?; end
730
+ def self.linux?; end
731
+ def self.mac_osx?; end
732
+ def self.mri?; end
733
+ def self.mri_19?; end
734
+ def self.mri_2?; end
735
+ def self.windows?; end
736
+ def self.windows_ansi?; end
737
+ end
738
+ class Pry::CodeObject
739
+ def _pry_; end
740
+ def _pry_=(arg0); end
741
+ def command_lookup; end
742
+ def default_lookup; end
743
+ def empty_lookup; end
744
+ def initialize(str, _pry_, options = nil); end
745
+ def looks_like_an_instance_method?(str); end
746
+ def lookup_super(obj, super_level); end
747
+ def method_or_class_lookup; end
748
+ def safe_to_evaluate?(str); end
749
+ def self.lookup(str, _pry_, options = nil); end
750
+ def sourcable_object?(obj); end
751
+ def str; end
752
+ def str=(arg0); end
753
+ def super_level; end
754
+ def super_level=(arg0); end
755
+ def target; end
756
+ def target=(arg0); end
757
+ def target_self; end
758
+ include Pry::Helpers::CommandHelpers
759
+ end
760
+ module Pry::CodeObject::Helpers
761
+ def c_method?; end
762
+ def c_module?; end
763
+ def command?; end
764
+ def module_with_yard_docs?; end
765
+ def real_method_object?; end
766
+ end
767
+ module Pry::Helpers::DocumentationHelpers
768
+ def get_comment_content(comment); end
769
+ def process_comment_markup(comment); end
770
+ def process_rdoc(comment); end
771
+ def process_yardoc(comment); end
772
+ def process_yardoc_tag(comment, tag); end
773
+ def self.get_comment_content(comment); end
774
+ def self.process_comment_markup(comment); end
775
+ def self.process_rdoc(comment); end
776
+ def self.process_yardoc(comment); end
777
+ def self.process_yardoc_tag(comment, tag); end
778
+ def self.strip_comments_from_c_code(code); end
779
+ def self.strip_leading_whitespace(text); end
780
+ def strip_comments_from_c_code(code); end
781
+ def strip_leading_whitespace(text); end
782
+ end
783
+ class Pry::Method
784
+ def ==(obj); end
785
+ def alias?; end
786
+ def aliases; end
787
+ def bound_method?; end
788
+ def c_source; end
789
+ def comment; end
790
+ def doc; end
791
+ def dynamically_defined?; end
792
+ def initialize(method, known_info = nil); end
793
+ def is_a?(klass); end
794
+ def kind_of?(klass); end
795
+ def method_missing(method_name, *args, &block); end
796
+ def method_name_from_first_line(first_ln); end
797
+ def name; end
798
+ def name_with_owner; end
799
+ def original_name; end
800
+ def pry_doc_info; end
801
+ def pry_method?; end
802
+ def redefine(source); end
803
+ def respond_to?(method_name, include_all = nil); end
804
+ def ruby_source; end
805
+ def self.all_from_class(klass, include_super = nil); end
806
+ def self.all_from_common(obj, _method_type = nil, include_super = nil); end
807
+ def self.all_from_obj(obj, include_super = nil); end
808
+ def self.from_binding(b); end
809
+ def self.from_class(klass, name, target = nil); end
810
+ def self.from_module(klass, name, target = nil); end
811
+ def self.from_obj(obj, name, target = nil); end
812
+ def self.from_str(name, target = nil, options = nil); end
813
+ def self.instance_method_definition?(name, definition_line); end
814
+ def self.instance_resolution_order(klass); end
815
+ def self.lookup_method_via_binding(obj, method_name, method_type, target = nil); end
816
+ def self.method_definition?(name, definition_line); end
817
+ def self.resolution_order(obj); end
818
+ def self.singleton_class_of(obj); end
819
+ def self.singleton_class_resolution_order(klass); end
820
+ def self.singleton_method_definition?(name, definition_line); end
821
+ def signature; end
822
+ def singleton_method?; end
823
+ def source; end
824
+ def source?; end
825
+ def source_file; end
826
+ def source_line; end
827
+ def source_range; end
828
+ def source_type; end
829
+ def super(times = nil); end
830
+ def super_using_ancestors(ancestors, times = nil); end
831
+ def unbound_method?; end
832
+ def undefined?; end
833
+ def visibility; end
834
+ def wrapped; end
835
+ def wrapped_owner; end
836
+ extend Pry::Helpers::BaseHelpers
837
+ include Pry::CodeObject::Helpers
838
+ include Pry::Helpers::BaseHelpers
839
+ include Pry::Helpers::DocumentationHelpers
840
+ end
841
+ class Pry::Method::WeirdMethodLocator
842
+ def all_methods_for(obj); end
843
+ def expanded_source_location(sl); end
844
+ def find_method_in_superclass; end
845
+ def find_renamed_method; end
846
+ def get_method; end
847
+ def index_to_line_number(index); end
848
+ def initialize(method, target); end
849
+ def lines_for_file(file); end
850
+ def lost_method?; end
851
+ def method; end
852
+ def method=(arg0); end
853
+ def normal_method?(method); end
854
+ def pry_file?; end
855
+ def renamed_method_source_location; end
856
+ def self.normal_method?(method, b); end
857
+ def self.weird_method?(method, b); end
858
+ def skip_superclass_search?; end
859
+ def target; end
860
+ def target=(arg0); end
861
+ def target_file; end
862
+ def target_line; end
863
+ def target_self; end
864
+ def valid_file?(file); end
865
+ end
866
+ class Pry::Method::Disowned < Pry::Method
867
+ def initialize(receiver, method_name); end
868
+ def method_missing(meth_name, *args, &block); end
869
+ def name; end
870
+ def owner; end
871
+ def receiver; end
872
+ def source?; end
873
+ def undefined?; end
874
+ end
875
+ class Pry::Method::Patcher
876
+ def cache_key; end
877
+ def definition_for_owner(line); end
878
+ def initialize(method); end
879
+ def method; end
880
+ def method=(arg0); end
881
+ def patch_in_ram(source); end
882
+ def redefine(source); end
883
+ def self.code_for(filename); end
884
+ def with_method_transaction; end
885
+ def wrap(source); end
886
+ def wrap_for_nesting(source); end
887
+ def wrap_for_owner(source); end
888
+ end
889
+ class Pry::WrappedModule
890
+ def all_methods_for(mod); end
891
+ def all_relevant_methods_for(mod); end
892
+ def all_source_locations_by_popularity; end
893
+ def candidate(rank); end
894
+ def candidates; end
895
+ def class?; end
896
+ def constants(inherit = nil); end
897
+ def doc; end
898
+ def file; end
899
+ def initialize(mod); end
900
+ def line; end
901
+ def lines_for_file(file); end
902
+ def method_candidates; end
903
+ def method_defined_by_forwardable_module?(method); end
904
+ def method_missing(method_name, *args, &block); end
905
+ def method_prefix; end
906
+ def module?; end
907
+ def nested_module?(parent, name); end
908
+ def nonblank_name; end
909
+ def number_of_candidates; end
910
+ def primary_candidate; end
911
+ def respond_to?(method_name, include_all = nil); end
912
+ def self.from_str(mod_name, target = nil); end
913
+ def self.safe_to_evaluate?(str, target); end
914
+ def singleton_class?; end
915
+ def singleton_instance; end
916
+ def source; end
917
+ def source_file; end
918
+ def source_line; end
919
+ def source_location; end
920
+ def super(times = nil); end
921
+ def wrapped; end
922
+ def yard_doc; end
923
+ def yard_docs?; end
924
+ def yard_file; end
925
+ def yard_line; end
926
+ include Pry::CodeObject::Helpers
927
+ include Pry::Helpers::BaseHelpers
928
+ end
929
+ class Pry::WrappedModule::Candidate
930
+ def class?(*args, &block); end
931
+ def class_regexes; end
932
+ def doc; end
933
+ def file; end
934
+ def first_line_of_module_definition(file, line); end
935
+ def first_method_source_location; end
936
+ def initialize(wrapper, rank); end
937
+ def last_method_source_location; end
938
+ def line; end
939
+ def lines_for_file(*a, &b); end
940
+ def method_candidates(*a, &b); end
941
+ def module?(*args, &block); end
942
+ def name(*a, &b); end
943
+ def nonblank_name(*args, &block); end
944
+ def number_of_candidates(*args, &block); end
945
+ def number_of_lines_in_first_chunk; end
946
+ def source; end
947
+ def source_file; end
948
+ def source_line; end
949
+ def source_location; end
950
+ def wrapped(*args, &block); end
951
+ def yard_docs?(*a, &b); end
952
+ extend Pry::Forwardable
953
+ include Pry::CodeObject::Helpers
954
+ include Pry::Helpers::DocumentationHelpers
955
+ end
956
+ class Pry::History
957
+ def <<(line); end
958
+ def clear; end
959
+ def clear_readline; end
960
+ def clearer; end
961
+ def clearer=(arg0); end
962
+ def filter(history); end
963
+ def history_file; end
964
+ def history_file_path; end
965
+ def history_line_count; end
966
+ def initialize(options = nil); end
967
+ def invalid_readline_line?(line); end
968
+ def load; end
969
+ def loader; end
970
+ def loader=(arg0); end
971
+ def original_lines; end
972
+ def push(line); end
973
+ def push_to_readline(line); end
974
+ def pusher; end
975
+ def pusher=(arg0); end
976
+ def read_from_file; end
977
+ def restore_default_behavior; end
978
+ def save_to_file(line); end
979
+ def saver; end
980
+ def saver=(arg0); end
981
+ def session_line_count; end
982
+ def should_ignore?(line); end
983
+ def to_a; end
984
+ end
985
+ class Pry::Command
986
+ def _pry_; end
987
+ def _pry_=(arg0); end
988
+ def after_hooks; end
989
+ def arg_string; end
990
+ def arg_string=(arg0); end
991
+ def before_hooks; end
992
+ def block; end
993
+ def call_safely(*args); end
994
+ def call_with_hooks(*args); end
995
+ def captures; end
996
+ def captures=(arg0); end
997
+ def check_for_command_collision(command_match, arg_string); end
998
+ def command_block; end
999
+ def command_block=(arg0); end
1000
+ def command_name; end
1001
+ def command_options; end
1002
+ def command_set; end
1003
+ def command_set=(arg0); end
1004
+ def commands; end
1005
+ def complete(_search); end
1006
+ def context; end
1007
+ def context=(arg0); end
1008
+ def correct_arg_arity(arity, args); end
1009
+ def dependencies_met?; end
1010
+ def description; end
1011
+ def eval_string; end
1012
+ def eval_string=(arg0); end
1013
+ def find_hooks(event); end
1014
+ def hooks; end
1015
+ def hooks=(arg0); end
1016
+ def initialize(context = nil); end
1017
+ def interpolate_string(str); end
1018
+ def match; end
1019
+ def name; end
1020
+ def output; end
1021
+ def output=(arg0); end
1022
+ def pass_block(arg_string); end
1023
+ def process_line(line); end
1024
+ def run(command_string, *args); end
1025
+ def self.banner(arg = nil); end
1026
+ def self.block; end
1027
+ def self.block=(arg0); end
1028
+ def self.command_name; end
1029
+ def self.command_options(arg = nil); end
1030
+ def self.command_options=(arg0); end
1031
+ def self.command_regex; end
1032
+ def self.convert_to_regex(obj); end
1033
+ def self.default_options(match); end
1034
+ def self.description(arg = nil); end
1035
+ def self.description=(arg0); end
1036
+ def self.doc; end
1037
+ def self.file; end
1038
+ def self.group(name = nil); end
1039
+ def self.hooks; end
1040
+ def self.inspect; end
1041
+ def self.line; end
1042
+ def self.match(arg = nil); end
1043
+ def self.match=(arg0); end
1044
+ def self.match_score(val); end
1045
+ def self.matches?(val); end
1046
+ def self.name; end
1047
+ def self.options(arg = nil); end
1048
+ def self.options=(arg0); end
1049
+ def self.source; end
1050
+ def self.source_file; end
1051
+ def self.source_line; end
1052
+ def self.subclass(match, description, options, helpers, &block); end
1053
+ def source; end
1054
+ def state; end
1055
+ def target; end
1056
+ def target=(arg0); end
1057
+ def target_self; end
1058
+ def text; end
1059
+ def tokenize(val); end
1060
+ def use_unpatched_symbol; end
1061
+ def void; end
1062
+ extend Pry::CodeObject::Helpers
1063
+ extend Pry::Helpers::DocumentationHelpers
1064
+ include Pry::Helpers::BaseHelpers
1065
+ include Pry::Helpers::CommandHelpers
1066
+ include Pry::Helpers::Text
1067
+ end
1068
+ class Pry::BlockCommand < Pry::Command
1069
+ def call(*args); end
1070
+ def help; end
1071
+ def opts; end
1072
+ end
1073
+ class Pry::ClassCommand < Pry::Command
1074
+ def args; end
1075
+ def args=(arg0); end
1076
+ def call(*args); end
1077
+ def complete(search); end
1078
+ def help; end
1079
+ def options(opt); end
1080
+ def opts; end
1081
+ def opts=(arg0); end
1082
+ def process; end
1083
+ def self.doc; end
1084
+ def self.file; end
1085
+ def self.inherited(klass); end
1086
+ def self.line; end
1087
+ def self.source; end
1088
+ def self.source_file; end
1089
+ def self.source_line; end
1090
+ def self.source_location; end
1091
+ def self.source_object; end
1092
+ def setup; end
1093
+ def slop; end
1094
+ def subcommands(cmd); end
1095
+ end
1096
+ class Pry::NoCommandError < StandardError
1097
+ def initialize(match, owner); end
1098
+ end
1099
+ class Pry::CommandSet
1100
+ def [](pattern); end
1101
+ def []=(pattern, command); end
1102
+ def add_command(command); end
1103
+ def alias_command(match, action, options = nil); end
1104
+ def block_command(match, description = nil, options = nil, &block); end
1105
+ def command(match, description = nil, options = nil, &block); end
1106
+ def complete(search, context = nil); end
1107
+ def create_command(match, description = nil, options = nil, &block); end
1108
+ def delete(*searches); end
1109
+ def desc(search, description = nil); end
1110
+ def disabled_command(name_of_disabled_command, message, matcher = nil); end
1111
+ def each(&block); end
1112
+ def find_command(pattern); end
1113
+ def find_command_by_match_or_listing(match_or_listing); end
1114
+ def find_command_for_help(search); end
1115
+ def helper_module; end
1116
+ def helpers(&block); end
1117
+ def import(*sets); end
1118
+ def import_from(set, *matches); end
1119
+ def initialize(*imported_sets, &block); end
1120
+ def keys; end
1121
+ def list_commands; end
1122
+ def process_line(val, context = nil); end
1123
+ def rename_command(new_match, search, options = nil); end
1124
+ def run_command(context, match, *args); end
1125
+ def to_h; end
1126
+ def to_hash; end
1127
+ def valid_command?(val); end
1128
+ include Enumerable
1129
+ include Pry::Helpers::BaseHelpers
1130
+ end
1131
+ class Pry::Result
1132
+ def command?; end
1133
+ def initialize(is_command, retval = nil); end
1134
+ def retval; end
1135
+ def void_command?; end
1136
+ end
1137
+ class Pry::Command::Bang < Pry::ClassCommand
1138
+ def process; end
1139
+ end
1140
+ class Pry::Command::Whereami < Pry::ClassCommand
1141
+ def bad_option_combination?; end
1142
+ def class_code; end
1143
+ def code; end
1144
+ def code?; end
1145
+ def code_window; end
1146
+ def default_code; end
1147
+ def expand_path(f); end
1148
+ def handle_internal_binding; end
1149
+ def initialize(*arg0); end
1150
+ def location; end
1151
+ def marker; end
1152
+ def method_code; end
1153
+ def nothing_to_do?; end
1154
+ def options(opt); end
1155
+ def process; end
1156
+ def self.method_size_cutoff; end
1157
+ def self.method_size_cutoff=(arg0); end
1158
+ def setup; end
1159
+ def small_method?; end
1160
+ def target_class; end
1161
+ def top_level?; end
1162
+ def use_line_numbers?; end
1163
+ def valid_method?; end
1164
+ def window_size; end
1165
+ end
1166
+ class Pry::Command::Cd < Pry::ClassCommand
1167
+ def process; end
1168
+ end
1169
+ class Pry::Command::ShowInput < Pry::ClassCommand
1170
+ def process; end
1171
+ end
1172
+ class Pry::Command::GemOpen < Pry::ClassCommand
1173
+ def complete(str); end
1174
+ def process(gem); end
1175
+ end
1176
+ class Pry::Command::ShellMode < Pry::ClassCommand
1177
+ def process; end
1178
+ end
1179
+ class Pry::Command::Help < Pry::ClassCommand
1180
+ def command_groups; end
1181
+ def display_command(command); end
1182
+ def display_filtered_commands(search); end
1183
+ def display_filtered_search_results(search); end
1184
+ def display_index(groups); end
1185
+ def display_search(search); end
1186
+ def group_sort_key(group_name); end
1187
+ def help_text_for_commands(name, commands); end
1188
+ def normalize(key); end
1189
+ def process; end
1190
+ def search_hash(search, hash); end
1191
+ def sorted_commands(commands); end
1192
+ def sorted_group_names(groups); end
1193
+ def visible_commands; end
1194
+ end
1195
+ class Pry::Command::GemStat < Pry::ClassCommand
1196
+ def format_dependencies(rdeps); end
1197
+ def format_gem(h); end
1198
+ def process(name); end
1199
+ end
1200
+ class Pry::Command::Exit < Pry::ClassCommand
1201
+ def process; end
1202
+ def process_pop_and_return; end
1203
+ end
1204
+ class Pry::Command::InstallCommand < Pry::ClassCommand
1205
+ def process(name); end
1206
+ end
1207
+ class Pry::Command::ExitAll < Pry::ClassCommand
1208
+ def process; end
1209
+ end
1210
+ class Pry::Command::Gist < Pry::ClassCommand
1211
+ def clipboard_content(content); end
1212
+ def comment_expression_result_for_gist(result); end
1213
+ def gist_content(content, filename); end
1214
+ def input_content; end
1215
+ def options(opt); end
1216
+ def process; end
1217
+ def setup; end
1218
+ end
1219
+ class Pry::Command::Stat < Pry::ClassCommand
1220
+ def options(opt); end
1221
+ def process; end
1222
+ end
1223
+ class Pry::Command::ClearScreen < Pry::ClassCommand
1224
+ def process; end
1225
+ end
1226
+ class Pry::Command::ListInspectors < Pry::ClassCommand
1227
+ def inspector_map; end
1228
+ def process; end
1229
+ def selected_inspector?(inspector); end
1230
+ def selected_text; end
1231
+ end
1232
+ class Pry::Command::Version < Pry::ClassCommand
1233
+ def process; end
1234
+ end
1235
+ class Pry::Command::GemReadme < Pry::ClassCommand
1236
+ def process(name); end
1237
+ end
1238
+ class Pry::Command::RaiseUp < Pry::ClassCommand
1239
+ def process; end
1240
+ end
1241
+ class Pry::Command::Ri < Pry::ClassCommand
1242
+ def process(spec); end
1243
+ end
1244
+ class Pry::Command::Edit < Pry::ClassCommand
1245
+ def apply_runtime_patch; end
1246
+ def bad_option_combination?; end
1247
+ def code_object; end
1248
+ def ensure_file_name_is_valid(file_name); end
1249
+ def file_and_line; end
1250
+ def file_and_line_for_current_exception; end
1251
+ def file_based_exception?; end
1252
+ def file_edit; end
1253
+ def filename_argument; end
1254
+ def initial_temp_file_content; end
1255
+ def input_expression; end
1256
+ def never_reload?; end
1257
+ def options(opt); end
1258
+ def patch_exception?; end
1259
+ def previously_patched?(code_object); end
1260
+ def probably_a_file?(str); end
1261
+ def process; end
1262
+ def pry_method?(code_object); end
1263
+ def reload?(file_name = nil); end
1264
+ def reloadable?; end
1265
+ def repl_edit; end
1266
+ def repl_edit?; end
1267
+ def runtime_patch?; end
1268
+ end
1269
+ class Pry::Command::Edit::ExceptionPatcher
1270
+ def _pry_; end
1271
+ def _pry_=(arg0); end
1272
+ def file_and_line; end
1273
+ def file_and_line=(arg0); end
1274
+ def initialize(_pry_, state, exception_file_and_line); end
1275
+ def perform_patch; end
1276
+ def state; end
1277
+ def state=(arg0); end
1278
+ end
1279
+ module Pry::Command::Edit::FileAndLineLocator
1280
+ def self.from_binding(target); end
1281
+ def self.from_code_object(code_object, filename_argument); end
1282
+ def self.from_exception(exception, backtrace_level); end
1283
+ def self.from_filename_argument(filename_argument); end
1284
+ end
1285
+ class Pry::Command::CodeCollector
1286
+ def _pry_; end
1287
+ def args; end
1288
+ def bad_option_combination?; end
1289
+ def code_object; end
1290
+ def code_object_doc; end
1291
+ def code_object_source_or_file; end
1292
+ def content; end
1293
+ def convert_to_range(n); end
1294
+ def could_not_locate(name); end
1295
+ def file; end
1296
+ def file=(arg0); end
1297
+ def file_content; end
1298
+ def initialize(args, opts, _pry_); end
1299
+ def line_range; end
1300
+ def obj_name; end
1301
+ def opts; end
1302
+ def pry_array_content_as_string(array, ranges, &block); end
1303
+ def pry_input_content; end
1304
+ def pry_output_content; end
1305
+ def restrict_to_lines(content, range); end
1306
+ def self.inject_options(opt); end
1307
+ def self.input_expression_ranges; end
1308
+ def self.input_expression_ranges=(arg0); end
1309
+ def self.output_result_ranges; end
1310
+ def self.output_result_ranges=(arg0); end
1311
+ include Pry::Helpers::CommandHelpers
1312
+ end
1313
+ class Pry::Command::SaveFile < Pry::ClassCommand
1314
+ def display_content; end
1315
+ def file_name; end
1316
+ def mode; end
1317
+ def options(opt); end
1318
+ def process; end
1319
+ def save_file; end
1320
+ end
1321
+ class Pry::Command::Play < Pry::ClassCommand
1322
+ def code_object; end
1323
+ def content; end
1324
+ def content_after_options; end
1325
+ def content_at_expression; end
1326
+ def default_file; end
1327
+ def file_content; end
1328
+ def options(opt); end
1329
+ def perform_play; end
1330
+ def process; end
1331
+ def should_use_default_file?; end
1332
+ def show_input; end
1333
+ end
1334
+ class Pry::Command::ToggleColor < Pry::ClassCommand
1335
+ def color_toggle; end
1336
+ def process; end
1337
+ end
1338
+ class Pry::Command::FindMethod < Pry::ClassCommand
1339
+ def additional_info(header, method); end
1340
+ def content_search(namespace); end
1341
+ def matched_method_lines(header, method); end
1342
+ def name_search(namespace); end
1343
+ def options(opt); end
1344
+ def pattern; end
1345
+ def print_matches(matches); end
1346
+ def print_matches_for_class(klass, grouped); end
1347
+ def process; end
1348
+ def recurse_namespace(klass, done = nil, &block); end
1349
+ def search_all_methods(namespace); end
1350
+ def search_class; end
1351
+ def show_search_results(matches); end
1352
+ extend Pry::Helpers::BaseHelpers
1353
+ end
1354
+ class Pry::Command::ShowInfo < Pry::ClassCommand
1355
+ def code_object_header(code_object, line_num); end
1356
+ def code_object_with_accessible_source(code_object); end
1357
+ def complete(input); end
1358
+ def content_and_header_for_code_object(code_object); end
1359
+ def content_and_headers_for_all_module_candidates(mod); end
1360
+ def file_and_line_for(code_object); end
1361
+ def header(code_object); end
1362
+ def header_options; end
1363
+ def initialize(*arg0); end
1364
+ def method_header(code_object, line_num); end
1365
+ def method_sections(code_object); end
1366
+ def module_header(code_object, line_num); end
1367
+ def no_definition_message; end
1368
+ def obj_name; end
1369
+ def options(opt); end
1370
+ def process; end
1371
+ def show_all_modules?(code_object); end
1372
+ def start_line_for(code_object); end
1373
+ def use_line_numbers?; end
1374
+ def valid_superclass?(code_object); end
1375
+ extend Pry::Helpers::BaseHelpers
1376
+ end
1377
+ class Pry::Command::ShowSource < Pry::Command::ShowInfo
1378
+ def content_for(code_object); end
1379
+ def options(opt); end
1380
+ def process; end
1381
+ end
1382
+ class Pry::Command::Ls < Pry::ClassCommand
1383
+ def error_list; end
1384
+ def no_user_opts?; end
1385
+ def options(opt); end
1386
+ def process; end
1387
+ def raise_errors_if_arguments_are_weird; end
1388
+ end
1389
+ class Pry::Command::Ls::Grep
1390
+ def initialize(grep_regexp); end
1391
+ def regexp; end
1392
+ end
1393
+ class Pry::Command::Ls::Formatter
1394
+ def _pry_; end
1395
+ def color(type, str); end
1396
+ def correct_opts?; end
1397
+ def format_value(value); end
1398
+ def grep; end
1399
+ def grep=(arg0); end
1400
+ def initialize(_pry_); end
1401
+ def output_section(heading, body); end
1402
+ def output_self; end
1403
+ def write_out; end
1404
+ end
1405
+ class Pry::Command::Ls::Globals < Pry::Command::Ls::Formatter
1406
+ def format(globals); end
1407
+ def initialize(opts, _pry_); end
1408
+ def output_self; end
1409
+ end
1410
+ module Pry::Command::Ls::Interrogatable
1411
+ def interrogatee_mod; end
1412
+ def interrogating_a_module?; end
1413
+ end
1414
+ class Pry::Command::Ls::Constants < Pry::Command::Ls::Formatter
1415
+ def correct_opts?; end
1416
+ def format(mod, constants); end
1417
+ def initialize(interrogatee, no_user_opts, opts, _pry_); end
1418
+ def output_self; end
1419
+ def show_deprecated_constants?; end
1420
+ include Pry::Command::Ls::Interrogatable
1421
+ end
1422
+ module Pry::Command::Ls::JRubyHacks
1423
+ def rubbishness(name); end
1424
+ def trim_jruby_aliases(methods); end
1425
+ end
1426
+ module Pry::Command::Ls::MethodsHelper
1427
+ def all_methods(instance_methods = nil); end
1428
+ def format(methods); end
1429
+ def resolution_order; end
1430
+ include Pry::Command::Ls::JRubyHacks
1431
+ end
1432
+ class Pry::Command::Ls::Methods < Pry::Command::Ls::Formatter
1433
+ def below_ceiling; end
1434
+ def correct_opts?; end
1435
+ def initialize(interrogatee, no_user_opts, opts, _pry_); end
1436
+ def output_self; end
1437
+ include Pry::Command::Ls::Interrogatable
1438
+ include Pry::Command::Ls::MethodsHelper
1439
+ end
1440
+ class Pry::Command::Ls::SelfMethods < Pry::Command::Ls::Formatter
1441
+ def correct_opts?; end
1442
+ def initialize(interrogatee, no_user_opts, opts, _pry_); end
1443
+ def output_self; end
1444
+ include Pry::Command::Ls::Interrogatable
1445
+ include Pry::Command::Ls::MethodsHelper
1446
+ end
1447
+ class Pry::Command::Ls::InstanceVars < Pry::Command::Ls::Formatter
1448
+ def correct_opts?; end
1449
+ def format(type, vars); end
1450
+ def initialize(interrogatee, no_user_opts, opts, _pry_); end
1451
+ def output_self; end
1452
+ include Pry::Command::Ls::Interrogatable
1453
+ end
1454
+ class Pry::Command::Ls::LocalNames < Pry::Command::Ls::Formatter
1455
+ def correct_opts?; end
1456
+ def format(locals); end
1457
+ def initialize(no_user_opts, args, _pry_); end
1458
+ def output_self; end
1459
+ end
1460
+ class Pry::Command::Ls::LocalVars < Pry::Command::Ls::Formatter
1461
+ def colorized_assignment_style(lhs, rhs, desired_width = nil); end
1462
+ def format(name_value_pairs); end
1463
+ def initialize(opts, _pry_); end
1464
+ def output_self; end
1465
+ end
1466
+ class Pry::Command::Ls::LsEntity
1467
+ def _pry_; end
1468
+ def constants; end
1469
+ def entities; end
1470
+ def entities_table; end
1471
+ def globals; end
1472
+ def grep(entity); end
1473
+ def initialize(opts); end
1474
+ def instance_vars; end
1475
+ def local_names; end
1476
+ def local_vars; end
1477
+ def methods; end
1478
+ def self_methods; end
1479
+ end
1480
+ class Pry::Command::Cat < Pry::ClassCommand
1481
+ def complete(search); end
1482
+ def load_path_completions; end
1483
+ def options(opt); end
1484
+ def process; end
1485
+ end
1486
+ class Pry::Command::Cat::AbstractFormatter
1487
+ def between_lines; end
1488
+ def code_type; end
1489
+ def decorate(content); end
1490
+ def use_line_numbers?; end
1491
+ include Pry::Helpers::BaseHelpers
1492
+ include Pry::Helpers::CommandHelpers
1493
+ end
1494
+ class Pry::Command::Cat::InputExpressionFormatter < Pry::Command::Cat::AbstractFormatter
1495
+ def format; end
1496
+ def initialize(input_expressions, opts); end
1497
+ def input_expressions; end
1498
+ def input_expressions=(arg0); end
1499
+ def normalized_expression_range; end
1500
+ def numbered_input_items; end
1501
+ def opts; end
1502
+ def opts=(arg0); end
1503
+ def selected_input_items; end
1504
+ end
1505
+ class Pry::Command::Cat::ExceptionFormatter < Pry::Command::Cat::AbstractFormatter
1506
+ def _pry_; end
1507
+ def backtrace_file; end
1508
+ def backtrace_level; end
1509
+ def backtrace_line; end
1510
+ def check_for_errors; end
1511
+ def code_window_size; end
1512
+ def ex; end
1513
+ def format; end
1514
+ def header; end
1515
+ def increment_backtrace_level; end
1516
+ def initialize(exception, _pry_, opts); end
1517
+ def opts; end
1518
+ def start_and_end_line_for_code_window; end
1519
+ include Pry::Helpers::Text
1520
+ end
1521
+ class Pry::Command::Cat::FileFormatter < Pry::Command::Cat::AbstractFormatter
1522
+ def _pry_; end
1523
+ def code_type; end
1524
+ def code_window_size; end
1525
+ def decorate(content); end
1526
+ def detect_code_type_from_file(file_name); end
1527
+ def file_and_line; end
1528
+ def file_name; end
1529
+ def file_with_embedded_line; end
1530
+ def format; end
1531
+ def initialize(file_with_embedded_line, _pry_, opts); end
1532
+ def line_number; end
1533
+ def opts; end
1534
+ end
1535
+ class Pry::Command::GemList < Pry::ClassCommand
1536
+ def process(pattern = nil); end
1537
+ end
1538
+ class Pry::Command::ChangeInspector < Pry::ClassCommand
1539
+ def inspector_map; end
1540
+ def process(inspector); end
1541
+ end
1542
+ class Pry::Command::ExitProgram < Pry::ClassCommand
1543
+ def process; end
1544
+ end
1545
+ class Pry::Command::ShowDoc < Pry::Command::ShowInfo
1546
+ def content_for(code_object); end
1547
+ def docs_for(code_object); end
1548
+ def header_options; end
1549
+ def render_doc_markup_for(code_object); end
1550
+ def start_line_for(code_object); end
1551
+ include Pry::Helpers::DocumentationHelpers
1552
+ end
1553
+ class Pry::Command::Reset < Pry::ClassCommand
1554
+ def process; end
1555
+ end
1556
+ class Pry::Command::DisablePry < Pry::ClassCommand
1557
+ def process; end
1558
+ end
1559
+ class Pry::Command::ImportSet < Pry::ClassCommand
1560
+ def process(_command_set_name); end
1561
+ end
1562
+ class Pry::Command::FixIndent < Pry::ClassCommand
1563
+ def process; end
1564
+ end
1565
+ class Pry::Command::Wtf < Pry::ClassCommand
1566
+ def backtrace; end
1567
+ def exception; end
1568
+ def options(opt); end
1569
+ def process; end
1570
+ def size_of_backtrace; end
1571
+ def with_line_numbers(bt); end
1572
+ end
1573
+ class Pry::Command::WatchExpression < Pry::ClassCommand
1574
+ def add_expression(_arguments); end
1575
+ def add_hook; end
1576
+ def delete(index); end
1577
+ def eval_and_print_changed(output); end
1578
+ def expressions; end
1579
+ def list; end
1580
+ def options(opt); end
1581
+ def process; end
1582
+ end
1583
+ class Pry::Command::WatchExpression::Expression
1584
+ def _pry_; end
1585
+ def changed?; end
1586
+ def eval!; end
1587
+ def initialize(_pry_, target, source); end
1588
+ def previous_value; end
1589
+ def source; end
1590
+ def target; end
1591
+ def target_eval(target, source); end
1592
+ def to_s; end
1593
+ def value; end
1594
+ end
1595
+ class Pry::Command::AmendLine < Pry::ClassCommand
1596
+ def amend_input; end
1597
+ def delete_from_array(array, range); end
1598
+ def insert_into_array(array, range); end
1599
+ def line_count; end
1600
+ def line_range; end
1601
+ def process; end
1602
+ def replace_in_array(array, range); end
1603
+ def start_and_end_line_number; end
1604
+ def zero_indexed_range_from_one_indexed_numbers(start_line_number, end_line_number); end
1605
+ end
1606
+ class Pry::Command::BangPry < Pry::ClassCommand
1607
+ def process; end
1608
+ end
1609
+ class Pry::Command::ReloadCode < Pry::ClassCommand
1610
+ def check_for_reloadability(code_object, identifier); end
1611
+ def current_file; end
1612
+ def process; end
1613
+ def reload_current_file; end
1614
+ def reload_object(identifier); end
1615
+ end
1616
+ class Pry::Command::Nesting < Pry::ClassCommand
1617
+ def process; end
1618
+ end
1619
+ class Pry::Command::ShellCommand < Pry::ClassCommand
1620
+ def cd_path_env; end
1621
+ def cd_path_exists?; end
1622
+ def parse_destination(dest); end
1623
+ def path_from_cd_path(dest); end
1624
+ def process(cmd); end
1625
+ def process_cd(dest); end
1626
+ def special_case_path?(dest); end
1627
+ end
1628
+ class Pry::Command::GemCd < Pry::ClassCommand
1629
+ def complete(str); end
1630
+ def process(gem); end
1631
+ end
1632
+ class Pry::Command::JumpTo < Pry::ClassCommand
1633
+ def process(break_level); end
1634
+ end
1635
+ class Pry::Command::ChangePrompt < Pry::ClassCommand
1636
+ def change_prompt(prompt); end
1637
+ def list_prompts; end
1638
+ def options(opt); end
1639
+ def process(prompt); end
1640
+ end
1641
+ class Pry::Command::SwitchTo < Pry::ClassCommand
1642
+ def process(selection); end
1643
+ end
1644
+ class Pry::Command::GemSearch < Pry::ClassCommand
1645
+ def list_as_string(gems, limit = nil); end
1646
+ def options(opt); end
1647
+ def process(str); end
1648
+ def setup; end
1649
+ end
1650
+ class Pry::Command::GemInstall < Pry::ClassCommand
1651
+ def process(gem); end
1652
+ def setup; end
1653
+ end
1654
+ class Pry::Command::Hist < Pry::ClassCommand
1655
+ def check_for_juxtaposed_replay(replay_sequence); end
1656
+ def find_history; end
1657
+ def options(opt); end
1658
+ def process; end
1659
+ def process_clear; end
1660
+ def process_display; end
1661
+ def process_replay; end
1662
+ def process_save; end
1663
+ end
1664
+ class Pry::Command::PryBacktrace < Pry::ClassCommand
1665
+ def process; end
1666
+ end
1667
+ class Pry::PluginManager
1668
+ def gem_list; end
1669
+ def initialize; end
1670
+ def load_plugins; end
1671
+ def locate_plugins; end
1672
+ def plugin_located?(plugin); end
1673
+ def plugins; end
1674
+ end
1675
+ class Pry::PluginManager::NoPlugin
1676
+ def initialize(name); end
1677
+ def method_missing(*_args); end
1678
+ end
1679
+ class Pry::PluginManager::Plugin
1680
+ def activate!; end
1681
+ def active; end
1682
+ def active=(arg0); end
1683
+ def active?; end
1684
+ def disable!; end
1685
+ def enable!; end
1686
+ def enabled; end
1687
+ def enabled=(arg0); end
1688
+ def enabled?; end
1689
+ def gem_name; end
1690
+ def gem_name=(arg0); end
1691
+ def initialize(name, gem_name, spec, enabled); end
1692
+ def load_cli_options; end
1693
+ def name; end
1694
+ def name=(arg0); end
1695
+ def spec; end
1696
+ def spec=(arg0); end
1697
+ def supported?; end
1698
+ end
1699
+ class Object < BasicObject
1700
+ def __binding__; end
1701
+ def pry(object = nil, hash = nil); end
1702
+ end
1703
+ class BasicObject
1704
+ def __binding__; end
1705
+ end
1706
+ class Pry::BasicObject < BasicObject
1707
+ include Kernel
1708
+ end
1709
+ class Pry::Config < Pry::BasicObject
1710
+ def self.shortcuts; end
1711
+ extend Pry::Config::Behavior::Builder
1712
+ include Pry::Config::Behavior
1713
+ end
1714
+ module Pry::Config::Behavior
1715
+ def ==(other); end
1716
+ def [](key); end
1717
+ def []=(key, value); end
1718
+ def __clip_inspect(obj); end
1719
+ def __dup(value); end
1720
+ def __push(key, value); end
1721
+ def __remove(key); end
1722
+ def __try_convert_to_hash(obj); end
1723
+ def clear; end
1724
+ def default; end
1725
+ def eager_load!; end
1726
+ def eql?(other); end
1727
+ def forget(key); end
1728
+ def initialize(default = nil); end
1729
+ def inspect; end
1730
+ def key?(key); end
1731
+ def keys; end
1732
+ def last_default; end
1733
+ def merge!(other); end
1734
+ def method_missing(name, *args, &block); end
1735
+ def pretty_print(q); end
1736
+ def respond_to_missing?(key, include_all = nil); end
1737
+ def self.included(klass); end
1738
+ def to_h; end
1739
+ def to_hash; end
1740
+ end
1741
+ class Pry::Config::Behavior::ReservedKeyError < RuntimeError
1742
+ end
1743
+ module Pry::Config::Behavior::Builder
1744
+ def assign(attributes, default = nil); end
1745
+ def from_hash(attributes, default = nil); end
1746
+ end
1747
+ module Pry::Config::Memoization
1748
+ def memoized_methods; end
1749
+ def self.included(mod); end
1750
+ end
1751
+ module Pry::Config::Memoization::ClassMethods
1752
+ def def_memoized(method_table); end
1753
+ end
1754
+ class Pry::Config::Default
1755
+ def auto_indent; end
1756
+ def collision_warning; end
1757
+ def color; end
1758
+ def command_completions; end
1759
+ def command_prefix; end
1760
+ def commands; end
1761
+ def completer; end
1762
+ def control_d_handler; end
1763
+ def correct_indent; end
1764
+ def default_window_size; end
1765
+ def disable_auto_reload; end
1766
+ def editor; end
1767
+ def exception_handler; end
1768
+ def exception_whitelist; end
1769
+ def exec_string; end
1770
+ def extra_sticky_locals; end
1771
+ def file_completions; end
1772
+ def gist; end
1773
+ def history; end
1774
+ def hooks; end
1775
+ def initialize; end
1776
+ def input; end
1777
+ def lazy_readline; end
1778
+ def ls; end
1779
+ def memory_size; end
1780
+ def output; end
1781
+ def output_prefix; end
1782
+ def pager; end
1783
+ def print; end
1784
+ def prompt; end
1785
+ def prompt_name; end
1786
+ def prompt_safe_contexts; end
1787
+ def quiet; end
1788
+ def requires; end
1789
+ def should_load_local_rc; end
1790
+ def should_load_plugins; end
1791
+ def should_load_rc; end
1792
+ def should_load_requires; end
1793
+ def should_trap_interrupts; end
1794
+ def system; end
1795
+ def windows_console_warning; end
1796
+ extend Pry::Config::Behavior::Builder
1797
+ extend Pry::Config::Memoization::ClassMethods
1798
+ include Pry::Config::Behavior
1799
+ include Pry::Config::Memoization
1800
+ end
1801
+ module Pry::Config::Convenience
1802
+ def config_shortcut(*names); end
1803
+ end
1804
+ class Pry::Config::Lazy
1805
+ def call; end
1806
+ def initialize(&block); end
1807
+ end
1808
+ class Pry::CLI
1809
+ def self.add_option_processor(&block); end
1810
+ def self.add_options(&block); end
1811
+ def self.add_plugin_options; end
1812
+ def self.input_args; end
1813
+ def self.input_args=(arg0); end
1814
+ def self.option_processors; end
1815
+ def self.option_processors=(arg0); end
1816
+ def self.options; end
1817
+ def self.options=(arg0); end
1818
+ def self.parse_options(args = nil); end
1819
+ def self.reset; end
1820
+ def self.start(opts); end
1821
+ end
1822
+ class Pry::CLI::NoOptionsError < StandardError
1823
+ end
1824
+ class Pry::ColorPrinter < PP
1825
+ def highlight_object_literal(object_literal); end
1826
+ def pp(obj); end
1827
+ def self.pp(obj, out = nil, width = nil, newline = nil); end
1828
+ def text(str, width = nil); end
1829
+ end
1830
+ class Pry::Terminal
1831
+ def self.actual_screen_size; end
1832
+ def self.height!; end
1833
+ def self.nonzero_column?(size); end
1834
+ def self.screen_size; end
1835
+ def self.screen_size_according_to_ansicon_env; end
1836
+ def self.screen_size_according_to_env; end
1837
+ def self.screen_size_according_to_io_console; end
1838
+ def self.screen_size_according_to_readline; end
1839
+ def self.size!(default = nil); end
1840
+ def self.width!; end
1841
+ end
1842
+ class Pry::Pager
1843
+ def _pry_; end
1844
+ def best_available; end
1845
+ def enabled?; end
1846
+ def initialize(_pry_); end
1847
+ def open; end
1848
+ def output; end
1849
+ def page(text); end
1850
+ end
1851
+ class Pry::Pager::StopPaging < StandardError
1852
+ end
1853
+ class Pry::Pager::NullPager
1854
+ def <<(str); end
1855
+ def close; end
1856
+ def height; end
1857
+ def initialize(out); end
1858
+ def print(str); end
1859
+ def puts(str); end
1860
+ def width; end
1861
+ def write(str); end
1862
+ end
1863
+ class Pry::Pager::SimplePager < Pry::Pager::NullPager
1864
+ def initialize(*arg0); end
1865
+ def write(str); end
1866
+ end
1867
+ class Pry::Pager::SystemPager < Pry::Pager::NullPager
1868
+ def close; end
1869
+ def initialize(*arg0); end
1870
+ def invoked_pager?; end
1871
+ def pager; end
1872
+ def self.available?; end
1873
+ def self.default_pager; end
1874
+ def write(str); end
1875
+ def write_to_pager(text); end
1876
+ end
1877
+ class Pry::Pager::PageTracker
1878
+ def initialize(rows, cols); end
1879
+ def line_length(line); end
1880
+ def page?; end
1881
+ def record(str); end
1882
+ def reset; end
1883
+ end
1884
+ class Pry::Editor
1885
+ def _pry_; end
1886
+ def blocking_flag_for_editor(blocking); end
1887
+ def build_editor_invocation_string(file, line, blocking); end
1888
+ def edit_tempfile_with_content(initial_content, line = nil); end
1889
+ def editor_name; end
1890
+ def initialize(_pry_); end
1891
+ def invoke_editor(file, line, blocking = nil); end
1892
+ def open_editor(editor_invocation); end
1893
+ def open_editor_on_jruby(editor_invocation); end
1894
+ def start_line_syntax_for_editor(file_name, line_number); end
1895
+ include Pry::Helpers::CommandHelpers
1896
+ end
1897
+ module Pry::Rubygem
1898
+ def self.complete(so_far); end
1899
+ def self.install(name); end
1900
+ def self.installed?(name); end
1901
+ def self.list(pattern = nil); end
1902
+ def self.spec(name); end
1903
+ end
1904
+ class Pry::Indent
1905
+ def correct_indentation(prompt, code, overhang = nil); end
1906
+ def current_prefix; end
1907
+ def end_of_statement?(last_token, last_kind); end
1908
+ def in_string?; end
1909
+ def indent(input); end
1910
+ def indent_level; end
1911
+ def indentation_delta(tokens); end
1912
+ def initialize; end
1913
+ def module_nesting; end
1914
+ def open_delimiters; end
1915
+ def open_delimiters_line; end
1916
+ def reset; end
1917
+ def self.indent(str); end
1918
+ def self.nesting_at(str, line_number); end
1919
+ def stack; end
1920
+ def tokenize(string); end
1921
+ def track_delimiter(token); end
1922
+ def track_module_nesting(token, kind); end
1923
+ def track_module_nesting_end(token, kind = nil); end
1924
+ include Pry::Helpers::BaseHelpers
1925
+ end
1926
+ class Pry::Indent::UnparseableNestingError < StandardError
1927
+ end
1928
+ class Pry::LastException < BasicObject
1929
+ def bt_index; end
1930
+ def bt_index=(arg0); end
1931
+ def bt_source_location_for(index); end
1932
+ def file; end
1933
+ def inc_bt_index; end
1934
+ def initialize(e); end
1935
+ def line; end
1936
+ def method_missing(name, *args, &block); end
1937
+ def respond_to_missing?(name, include_all = nil); end
1938
+ def wrapped_exception; end
1939
+ end
1940
+ module Pry::Prompt
1941
+ def self.[](prompt_name); end
1942
+ def self.add(prompt_name, description = nil, separators = nil); end
1943
+ def self.all; end
1944
+ def self.prompt_name(name); end
1945
+ end
1946
+ class Pry::Inspector
1947
+ end
1948
+ class Pry::ObjectPath
1949
+ def complete?(segment); end
1950
+ def handle_failure(context, err); end
1951
+ def initialize(path_string, current_stack); end
1952
+ def resolve; end
1953
+ end
1954
+ class Pry::Output
1955
+ def <<(*objs); end
1956
+ def _pry_; end
1957
+ def decolorize_maybe(str); end
1958
+ def initialize(_pry_); end
1959
+ def method_missing(name, *args, &block); end
1960
+ def print(*objs); end
1961
+ def puts(*objs); end
1962
+ def respond_to_missing?(m, include_all = nil); end
1963
+ def tty?; end
1964
+ def write(*objs); end
1965
+ end