Skip to content

Commit c35bd4c

Browse files
committed
cosmetic changes
1 parent 1d40442 commit c35bd4c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lib/debug/frame_info.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def realpath
2828
end
2929

3030
def self.pretty_path path
31-
return '#<none>' unless path
31+
return '#<none>' unless path
3232
use_short_path = CONFIG[:use_short_path]
3333

3434
case
@@ -158,9 +158,7 @@ def parameters_info
158158
}.compact
159159
end
160160

161-
private
162-
163-
def get_singleton_class obj
161+
private def get_singleton_class obj
164162
obj.singleton_class # TODO: don't use it
165163
rescue TypeError
166164
nil
@@ -170,7 +168,7 @@ def get_singleton_class obj
170168
local_variables[var]
171169
end
172170

173-
def klass_sig
171+
private def klass_sig
174172
if self.class == get_singleton_class(self.self)
175173
"#{self.self}."
176174
else

0 commit comments

Comments
 (0)