summaryrefslogtreecommitdiff
path: root/lib/debug.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/debug.rb')
-rw-r--r--lib/debug.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debug.rb b/lib/debug.rb
index ab32c9d023..1b558ab90f 100644
--- a/lib/debug.rb
+++ b/lib/debug.rb
@@ -231,7 +231,7 @@ class Context
stdout.print "Should be Class/Module: ", input, "\n"
else
len = 0
- for v in obj.instance_methods.sort
+ for v in obj.instance_methods(false).sort
len += v.size + 1
if len > 70
len = v.size + 1