hierarchical_config 0.11 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.github/workflows/release.yml +41 -0
- data/.github/workflows/ruby.yml +55 -0
- data/.gitignore +2 -0
- data/.release-please-manifest.json +3 -0
- data/.rubocop.yml +68 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +15 -0
- data/Gemfile +15 -2
- data/Gemfile.2.4 +19 -0
- data/Gemfile.2.4.lock +117 -0
- data/Gemfile.lock +126 -25
- data/README.md +0 -2
- data/bin/console +3 -3
- data/bin/tapioca +29 -0
- data/hierarchical_config.gemspec +14 -13
- data/lib/hierarchical_config/version.rb +3 -1
- data/lib/hierarchical_config.rb +195 -98
- data/release-please-config.json +14 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/annotations/activesupport.rbi +128 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/gems/activesupport@7.0.4.2.rbi +16155 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
- data/sorbet/rbi/gems/binding_of_caller@1.0.0.rbi +55 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +3426 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.2.2.rbi +11545 -0
- data/sorbet/rbi/gems/debug_inspector@1.1.0.rbi +23 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1083 -0
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
- data/sorbet/rbi/gems/interception@0.5.rbi +138 -0
- data/sorbet/rbi/gems/json@2.6.3.rbi +1541 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +272 -0
- data/sorbet/rbi/gems/minitest@5.17.0.rbi +1457 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
- data/sorbet/rbi/gems/parser@3.2.1.0.rbi +7252 -0
- data/sorbet/rbi/gems/pry-rescue@1.5.2.rbi +186 -0
- data/sorbet/rbi/gems/pry-stack_explorer@0.6.1.rbi +295 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +10081 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +3018 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
- data/sorbet/rbi/gems/regexp_parser@2.7.0.rbi +3580 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +4717 -0
- data/sorbet/rbi/gems/rspec-core@3.12.1.rbi +10845 -0
- data/sorbet/rbi/gems/rspec-expectations@3.12.2.rbi +8100 -0
- data/sorbet/rbi/gems/rspec-mocks@3.12.3.rbi +5299 -0
- data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1611 -0
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +82 -0
- data/sorbet/rbi/gems/rubocop-ast@1.27.0.rbi +6998 -0
- data/sorbet/rbi/gems/rubocop-performance@1.16.0.rbi +3004 -0
- data/sorbet/rbi/gems/rubocop@1.46.0.rbi +54549 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1239 -0
- data/sorbet/rbi/gems/spoom@1.1.15.rbi +2383 -0
- data/sorbet/rbi/gems/tapioca@0.11.1.rbi +3255 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5917 -0
- data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +65 -0
- data/sorbet/rbi/gems/unparser@0.6.7.rbi +4524 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +2555 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +441 -0
- data/sorbet/rbi/gems/yard@0.9.28.rbi +17841 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +75 -47
- data/.travis.yml +0 -6
@@ -0,0 +1,186 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `pry-rescue` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem pry-rescue`.
|
6
|
+
|
7
|
+
# PryRescue provides the ability to open a Pry shell whenever an unhandled exception is
|
8
|
+
# raised in your code.
|
9
|
+
#
|
10
|
+
# The main API is exposed via the Pry object, but here are a load of helpers that I didn't
|
11
|
+
# want to pollute the Pry namespace with.
|
12
|
+
#
|
13
|
+
# @see {Pry::rescue}
|
14
|
+
#
|
15
|
+
# source://pry-rescue//lib/pry-rescue/rack.rb#3
|
16
|
+
class PryRescue
|
17
|
+
class << self
|
18
|
+
# Returns the value of attribute any_exception_captured.
|
19
|
+
#
|
20
|
+
# source://pry-rescue//lib/pry-rescue.rb#42
|
21
|
+
def any_exception_captured; end
|
22
|
+
|
23
|
+
# Sets the attribute any_exception_captured
|
24
|
+
#
|
25
|
+
# @param value the value to set the attribute any_exception_captured to.
|
26
|
+
#
|
27
|
+
# source://pry-rescue//lib/pry-rescue.rb#42
|
28
|
+
def any_exception_captured=(_arg0); end
|
29
|
+
|
30
|
+
# Start a Pry session in the context of the exception.
|
31
|
+
#
|
32
|
+
# @param exception [Exception] The exception raised
|
33
|
+
#
|
34
|
+
# source://pry-rescue//lib/pry-rescue.rb#46
|
35
|
+
def enter_exception_context(exception); end
|
36
|
+
|
37
|
+
# Is the user currently inside pry rescue?
|
38
|
+
#
|
39
|
+
# @return [Boolean]
|
40
|
+
#
|
41
|
+
# source://pry-rescue//lib/pry-rescue.rb#93
|
42
|
+
def in_exception_context?; end
|
43
|
+
|
44
|
+
# Load a script wrapped in Pry::rescue{ }
|
45
|
+
#
|
46
|
+
# @param script [String] The name of the script
|
47
|
+
#
|
48
|
+
# source://pry-rescue//lib/pry-rescue.rb#72
|
49
|
+
def load(script, ensure_repl = T.unsafe(nil)); end
|
50
|
+
|
51
|
+
# source://pry-rescue//lib/pry-rescue.rb#83
|
52
|
+
def load_rake(task); end
|
53
|
+
|
54
|
+
# Called when rescue --peek is used and the user hits <Ctrl+C>
|
55
|
+
# or sends whichever signal is configured.
|
56
|
+
#
|
57
|
+
# source://pry-rescue//lib/pry-rescue/peek.rb#8
|
58
|
+
def peek!(*_arg0); end
|
59
|
+
|
60
|
+
# source://pry-rescue//lib/pry-rescue/peek.rb#2
|
61
|
+
def peek_on_signal(signal); end
|
62
|
+
|
63
|
+
private
|
64
|
+
|
65
|
+
# Is this file definitely part of the codebase the user is working on?
|
66
|
+
#
|
67
|
+
# This function exists because sometimes Dir.pwd can be a gem_path?,
|
68
|
+
# and the user expects to be able to debug a gem when they're cd'd
|
69
|
+
# into it.
|
70
|
+
#
|
71
|
+
# @param file [String] the absolute path
|
72
|
+
# @return [Boolean]
|
73
|
+
#
|
74
|
+
# source://pry-rescue//lib/pry-rescue.rb#141
|
75
|
+
def current_path?(file); end
|
76
|
+
|
77
|
+
# Is this path included in a gem?
|
78
|
+
#
|
79
|
+
# @param file [String] the absolute path
|
80
|
+
# @return [Boolean]
|
81
|
+
#
|
82
|
+
# source://pry-rescue//lib/pry-rescue.rb#149
|
83
|
+
def gem_path?(file); end
|
84
|
+
|
85
|
+
# When using pry-stack-explorer we want to start the rescue session outside of gems
|
86
|
+
# and the standard library, as that is most helpful for users.
|
87
|
+
#
|
88
|
+
# @param bindings [Array<Bindings>] All bindings
|
89
|
+
# @return [Fixnum] The offset of the first binding of user code
|
90
|
+
#
|
91
|
+
# source://pry-rescue//lib/pry-rescue.rb#115
|
92
|
+
def initial_frame(bindings); end
|
93
|
+
|
94
|
+
# Did this raise happen within pry-rescue?
|
95
|
+
#
|
96
|
+
# This is designed to remove the extra raise that is caused by PryRescue.load.
|
97
|
+
# TODO: we should figure out why it happens...
|
98
|
+
#
|
99
|
+
# @param e [Exception] The raised exception
|
100
|
+
# @return [Boolean]
|
101
|
+
#
|
102
|
+
# source://pry-rescue//lib/pry-rescue.rb#105
|
103
|
+
def phantom_load_raise?(e); end
|
104
|
+
|
105
|
+
# Define the :before_session hook for the Pry instance.
|
106
|
+
# This ensures that the `_ex_` and `_raised_` sticky locals are
|
107
|
+
# properly set.
|
108
|
+
#
|
109
|
+
# @param ex [Exception] The exception we're currently looking at
|
110
|
+
#
|
111
|
+
# source://pry-rescue//lib/pry-rescue.rb#198
|
112
|
+
def pry_hooks(ex); end
|
113
|
+
|
114
|
+
# Is this path in the ruby standard library?
|
115
|
+
#
|
116
|
+
# @param file [String] the absolute path
|
117
|
+
# @return [Boolean]
|
118
|
+
#
|
119
|
+
# source://pry-rescue//lib/pry-rescue.rb#163
|
120
|
+
def stdlib_path?(file); end
|
121
|
+
|
122
|
+
# Is this path likely to be code the user is working with right now?
|
123
|
+
#
|
124
|
+
# @param file [String] the absolute path
|
125
|
+
# @return [Boolean]
|
126
|
+
#
|
127
|
+
# source://pry-rescue//lib/pry-rescue.rb#127
|
128
|
+
def user_path?(file); end
|
129
|
+
|
130
|
+
# source://pry-rescue//lib/pry-rescue.rb#210
|
131
|
+
def with_program_name(name); end
|
132
|
+
|
133
|
+
# Remove bindings that are part of Interception/Pry.rescue's internal
|
134
|
+
# event handling that happens as part of the exception hooking process.
|
135
|
+
#
|
136
|
+
# @param bindings [Array<Binding>] The call stack.
|
137
|
+
#
|
138
|
+
# source://pry-rescue//lib/pry-rescue.rb#171
|
139
|
+
def without_bindings_below_raise(bindings); end
|
140
|
+
|
141
|
+
# Remove multiple bindings for the same function.
|
142
|
+
#
|
143
|
+
# @param bindings [Array<Bindings>] The call stack
|
144
|
+
# @return [Array<Bindings>]
|
145
|
+
#
|
146
|
+
# source://pry-rescue//lib/pry-rescue.rb#184
|
147
|
+
def without_duplicates(bindings); end
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
# A Rack middleware that wraps each web request in Pry::rescue.
|
152
|
+
#
|
153
|
+
# source://pry-rescue//lib/pry-rescue/rack.rb#5
|
154
|
+
class PryRescue::Rack
|
155
|
+
# Instantiate the middleware
|
156
|
+
#
|
157
|
+
# @param app [#call]
|
158
|
+
# @return [Rack] a new instance of Rack
|
159
|
+
#
|
160
|
+
# source://pry-rescue//lib/pry-rescue/rack.rb#9
|
161
|
+
def initialize(app); end
|
162
|
+
|
163
|
+
# Handle a web request
|
164
|
+
#
|
165
|
+
# @param env [Rack::Env]
|
166
|
+
#
|
167
|
+
# source://pry-rescue//lib/pry-rescue/rack.rb#15
|
168
|
+
def call(env); end
|
169
|
+
end
|
170
|
+
|
171
|
+
# source://pry-rescue//lib/pry-rescue/source_location.rb#2
|
172
|
+
module PryRescue::SourceLocation
|
173
|
+
class << self
|
174
|
+
# source://pry-rescue//lib/pry-rescue/source_location.rb#6
|
175
|
+
def call(b); end
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
# source://pry-rescue//lib/pry-rescue/source_location.rb#3
|
180
|
+
PryRescue::SourceLocation::DEPRECATION_TIME = T.let(T.unsafe(nil), Time)
|
181
|
+
|
182
|
+
# source://pry-rescue//lib/pry-rescue/source_location.rb#5
|
183
|
+
PryRescue::SourceLocation::WithRuby2_5 = T.let(T.unsafe(nil), Proc)
|
184
|
+
|
185
|
+
# source://pry-rescue//lib/pry-rescue/source_location.rb#6
|
186
|
+
PryRescue::SourceLocation::WithRuby2_6 = T.let(T.unsafe(nil), Proc)
|
@@ -0,0 +1,295 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `pry-stack_explorer` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem pry-stack_explorer`.
|
6
|
+
|
7
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/version.rb#1
|
8
|
+
module PryStackExplorer
|
9
|
+
class << self
|
10
|
+
# Simple test to check whether two `Binding` objects are equal.
|
11
|
+
#
|
12
|
+
# @param b1 [Binding] First binding.
|
13
|
+
# @param b2 [Binding] Second binding.
|
14
|
+
# @return [Boolean] Whether the `Binding`s are equal.
|
15
|
+
#
|
16
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer.rb#109
|
17
|
+
def bindings_equal?(b1, b2); end
|
18
|
+
|
19
|
+
# Clear the stack of frame managers for the Pry instance
|
20
|
+
#
|
21
|
+
# @param _pry_ [Pry] The Pry instance associated with the frame managers
|
22
|
+
#
|
23
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer.rb#93
|
24
|
+
def clear_frame_managers(_pry_); end
|
25
|
+
|
26
|
+
# Create a `Pry::FrameManager` object and push it onto the frame
|
27
|
+
# manager stack for the relevant `_pry_` instance.
|
28
|
+
#
|
29
|
+
# @param bindings [Array] The array of bindings (frames)
|
30
|
+
# @param _pry_ [Pry] The Pry instance associated with the frame manager
|
31
|
+
#
|
32
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer.rb#35
|
33
|
+
def create_and_push_frame_manager(bindings, _pry_, options = T.unsafe(nil)); end
|
34
|
+
|
35
|
+
# Clear the stack of frame managers for the Pry instance
|
36
|
+
#
|
37
|
+
# @param _pry_ [Pry] The Pry instance associated with the frame managers
|
38
|
+
#
|
39
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer.rb#93
|
40
|
+
def delete_frame_managers(_pry_); end
|
41
|
+
|
42
|
+
# @return [Hash] The hash storing all frames for all Pry instances for
|
43
|
+
# the current thread.
|
44
|
+
#
|
45
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer.rb#19
|
46
|
+
def frame_hash; end
|
47
|
+
|
48
|
+
# @return [PryStackExplorer::FrameManager] The currently active frame manager
|
49
|
+
#
|
50
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer.rb#101
|
51
|
+
def frame_manager(_pry_); end
|
52
|
+
|
53
|
+
# Return the complete frame manager stack for the Pry instance
|
54
|
+
#
|
55
|
+
# @param _pry_ [Pry] The Pry instance associated with the frame
|
56
|
+
# managers
|
57
|
+
# @return [Array] The stack of Pry::FrameManager objections
|
58
|
+
#
|
59
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer.rb#27
|
60
|
+
def frame_managers(_pry_); end
|
61
|
+
|
62
|
+
# Delete the currently active frame manager
|
63
|
+
#
|
64
|
+
# @param _pry_ [Pry] The Pry instance associated with the frame
|
65
|
+
# managers.
|
66
|
+
# @return [Pry::FrameManager] The popped frame manager.
|
67
|
+
#
|
68
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer.rb#60
|
69
|
+
def pop_frame_manager(_pry_); end
|
70
|
+
|
71
|
+
private
|
72
|
+
|
73
|
+
# Restore the Pry instance to operate on the previous
|
74
|
+
# binding. Also responsible for restoring Pry instance's backtrace.
|
75
|
+
#
|
76
|
+
# @param popped_fm [Pry::FrameManager] The recently popped frame manager.
|
77
|
+
# @param _pry_ [Pry] The Pry instance associated with the frame managers.
|
78
|
+
#
|
79
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer.rb#72
|
80
|
+
def pop_helper(popped_fm, _pry_); end
|
81
|
+
|
82
|
+
# Update the Pry instance to operate on the specified frame for the
|
83
|
+
# current frame manager.
|
84
|
+
#
|
85
|
+
# @param fm [PryStackExplorer::FrameManager] The active frame manager.
|
86
|
+
# @param options [Hash] The options hash.
|
87
|
+
#
|
88
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer.rb#46
|
89
|
+
def push_helper(fm, options = T.unsafe(nil)); end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/commands.rb#133
|
94
|
+
PryStackExplorer::Commands = T.let(T.unsafe(nil), Pry::CommandSet)
|
95
|
+
|
96
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/commands.rb#2
|
97
|
+
module PryStackExplorer::FrameHelpers
|
98
|
+
private
|
99
|
+
|
100
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/commands.rb#115
|
101
|
+
def find_frame_by_block(up_or_down); end
|
102
|
+
|
103
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/commands.rb#100
|
104
|
+
def find_frame_by_object_regex(class_regex, method_regex, up_or_down); end
|
105
|
+
|
106
|
+
# Regexp.new(args[0])
|
107
|
+
#
|
108
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/commands.rb#88
|
109
|
+
def find_frame_by_regex(regex, up_or_down); end
|
110
|
+
|
111
|
+
# Return a description of the frame (binding).
|
112
|
+
# This is only useful for regular old bindings that have not been
|
113
|
+
# enhanced by `#of_caller`.
|
114
|
+
#
|
115
|
+
# @param b [Binding] The binding.
|
116
|
+
# @return [String] A description of the frame (binding).
|
117
|
+
#
|
118
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/commands.rb#28
|
119
|
+
def frame_description(b); end
|
120
|
+
|
121
|
+
# Return a description of the passed binding object. Accepts an
|
122
|
+
# optional `verbose` parameter.
|
123
|
+
#
|
124
|
+
# @param b [Binding] The binding.
|
125
|
+
# @param verbose [Boolean] Whether to generate a verbose description.
|
126
|
+
# @return [String] The description of the binding.
|
127
|
+
#
|
128
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/commands.rb#48
|
129
|
+
def frame_info(b, verbose = T.unsafe(nil)); end
|
130
|
+
|
131
|
+
# @return [PryStackExplorer::FrameManager] The active frame manager for
|
132
|
+
# the current `Pry` instance.
|
133
|
+
#
|
134
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/commands.rb#7
|
135
|
+
def frame_manager; end
|
136
|
+
|
137
|
+
# @return [Array<PryStackExplorer::FrameManager>] All the frame
|
138
|
+
# managers for the current `Pry` instance.
|
139
|
+
#
|
140
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/commands.rb#13
|
141
|
+
def frame_managers; end
|
142
|
+
|
143
|
+
# @return [Boolean] Whether there is a context to return to once
|
144
|
+
# the current `frame_manager` is popped.
|
145
|
+
#
|
146
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/commands.rb#19
|
147
|
+
def prior_context_exists?; end
|
148
|
+
|
149
|
+
# @param meth_obj [Pry::Method] The method object.
|
150
|
+
# @return [String] Signature for the method object in Class#method format.
|
151
|
+
#
|
152
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/commands.rb#69
|
153
|
+
def signature_with_owner(meth_obj); end
|
154
|
+
end
|
155
|
+
|
156
|
+
# This class represents a call-stack. It stores the
|
157
|
+
# frames that make up the stack and is responsible for updating the
|
158
|
+
# associated Pry instance to reflect the active frame. It is fully Enumerable.
|
159
|
+
#
|
160
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/frame_manager.rb#6
|
161
|
+
class PryStackExplorer::FrameManager
|
162
|
+
include ::Enumerable
|
163
|
+
|
164
|
+
# @return [FrameManager] a new instance of FrameManager
|
165
|
+
#
|
166
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/frame_manager.rb#27
|
167
|
+
def initialize(bindings, _pry_); end
|
168
|
+
|
169
|
+
# @return [Fixnum] The index of the active frame (binding) in the call-stack.
|
170
|
+
#
|
171
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/frame_manager.rb#14
|
172
|
+
def binding_index; end
|
173
|
+
|
174
|
+
# @return [Fixnum] The index of the active frame (binding) in the call-stack.
|
175
|
+
#
|
176
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/frame_manager.rb#14
|
177
|
+
def binding_index=(_arg0); end
|
178
|
+
|
179
|
+
# @return [Array<Binding>] The array of bindings that constitute
|
180
|
+
# the call-stack.
|
181
|
+
#
|
182
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/frame_manager.rb#11
|
183
|
+
def bindings; end
|
184
|
+
|
185
|
+
# @return [Array<Binding>] The array of bindings that constitute
|
186
|
+
# the call-stack.
|
187
|
+
#
|
188
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/frame_manager.rb#11
|
189
|
+
def bindings=(_arg0); end
|
190
|
+
|
191
|
+
# Change active frame to the one indexed by `index`.
|
192
|
+
# Note that indexing base is `0`
|
193
|
+
#
|
194
|
+
# @param index [Fixnum] The index of the frame.
|
195
|
+
#
|
196
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/frame_manager.rb#71
|
197
|
+
def change_frame_to(index, run_whereami = T.unsafe(nil)); end
|
198
|
+
|
199
|
+
# @return [Binding] The currently active frame
|
200
|
+
#
|
201
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/frame_manager.rb#48
|
202
|
+
def current_frame; end
|
203
|
+
|
204
|
+
# Iterate over all frames
|
205
|
+
#
|
206
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/frame_manager.rb#37
|
207
|
+
def each(&block); end
|
208
|
+
|
209
|
+
# @return [Array] The backtrace of the Pry instance before the
|
210
|
+
# FrameManager took over.
|
211
|
+
#
|
212
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/frame_manager.rb#25
|
213
|
+
def prior_backtrace; end
|
214
|
+
|
215
|
+
# @return [Binding] The binding of the Pry instance before the
|
216
|
+
# FrameManager took over.
|
217
|
+
#
|
218
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/frame_manager.rb#21
|
219
|
+
def prior_binding; end
|
220
|
+
|
221
|
+
# Ensure the Pry instance's active binding is the frame manager's
|
222
|
+
# active binding.
|
223
|
+
#
|
224
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/frame_manager.rb#43
|
225
|
+
def refresh_frame(run_whereami = T.unsafe(nil)); end
|
226
|
+
|
227
|
+
# Set the binding index (aka frame index), but raising an Exception when invalid
|
228
|
+
# index received. Also converts negative indices to their positive counterparts.
|
229
|
+
#
|
230
|
+
# @param index [Fixnum] The index.
|
231
|
+
#
|
232
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/frame_manager.rb#55
|
233
|
+
def set_binding_index_safely(index); end
|
234
|
+
|
235
|
+
# @return [Hash] A hash for user defined data
|
236
|
+
#
|
237
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/frame_manager.rb#17
|
238
|
+
def user; end
|
239
|
+
end
|
240
|
+
|
241
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/commands.rb#342
|
242
|
+
PryStackExplorer::LOCATION_LAMBDA = T.let(T.unsafe(nil), Proc)
|
243
|
+
|
244
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/version.rb#2
|
245
|
+
PryStackExplorer::VERSION = T.let(T.unsafe(nil), String)
|
246
|
+
|
247
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/when_started_hook.rb#2
|
248
|
+
class PryStackExplorer::WhenStartedHook
|
249
|
+
include ::Pry::Helpers::BaseHelpers
|
250
|
+
|
251
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/when_started_hook.rb#23
|
252
|
+
def call(target, options, _pry_); end
|
253
|
+
|
254
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/when_started_hook.rb#5
|
255
|
+
def caller_bindings(target); end
|
256
|
+
|
257
|
+
private
|
258
|
+
|
259
|
+
# @return [Array<Array<Binding, Fixnum>>]
|
260
|
+
#
|
261
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/when_started_hook.rb#84
|
262
|
+
def internal_frames_with_indices(bindings); end
|
263
|
+
|
264
|
+
# When a pry session is started within a pry session
|
265
|
+
#
|
266
|
+
# @return [Boolean]
|
267
|
+
#
|
268
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/when_started_hook.rb#76
|
269
|
+
def nested_session?(bindings); end
|
270
|
+
|
271
|
+
# binding.pry frame
|
272
|
+
#
|
273
|
+
# @return [Boolean]
|
274
|
+
#
|
275
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/when_started_hook.rb#70
|
276
|
+
def pry_method_frame?(binding); end
|
277
|
+
|
278
|
+
# remove pry-nav / pry-debugger / pry-byebug frames
|
279
|
+
#
|
280
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/when_started_hook.rb#64
|
281
|
+
def remove_debugger_frames(bindings); end
|
282
|
+
|
283
|
+
# remove internal frames related to setting up the session
|
284
|
+
#
|
285
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/when_started_hook.rb#48
|
286
|
+
def remove_internal_frames(bindings); end
|
287
|
+
|
288
|
+
# @return [Boolean]
|
289
|
+
#
|
290
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer/when_started_hook.rb#92
|
291
|
+
def valid_call_stack?(bindings); end
|
292
|
+
end
|
293
|
+
|
294
|
+
# source://pry-stack_explorer//lib/pry-stack_explorer.rb#14
|
295
|
+
SE = PryStackExplorer
|