We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d40442 commit c35bd4cCopy full SHA for c35bd4c
lib/debug/frame_info.rb
@@ -28,7 +28,7 @@ def realpath
28
end
29
30
def self.pretty_path path
31
- return '#<none>' unless path
+ return '#<none>' unless path
32
use_short_path = CONFIG[:use_short_path]
33
34
case
@@ -158,9 +158,7 @@ def parameters_info
158
}.compact
159
160
161
- private
162
-
163
- def get_singleton_class obj
+ private def get_singleton_class obj
164
obj.singleton_class # TODO: don't use it
165
rescue TypeError
166
nil
@@ -170,7 +168,7 @@ def get_singleton_class obj
170
168
local_variables[var]
171
169
172
173
- def klass_sig
+ private def klass_sig
174
if self.class == get_singleton_class(self.self)
175
"#{self.self}."
176
else
0 commit comments