Skip to content

Commit 367797b

Browse files
authoredNov 30, 2022
Make sure ls doesn't return an array (#461)
·
v1.15.3v1.6.0
1 parent f950792 commit 367797b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎lib/irb/cmd/ls.rb‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def execute(*arg, grep: nil)
3030
o.dump("instance variables", obj.instance_variables)
3131
o.dump("class variables", klass.class_variables)
3232
o.dump("locals", locals)
33+
nil
3334
end
3435

3536
def dump_methods(o, klass, obj)

0 commit comments

Comments
 (0)
Please sign in to comment.