Skip to content

Commit 725f140

Browse files
committed
fix 1.9 support
1 parent a59ccac commit 725f140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby-debug/xml_printer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def print(*params)
310310
end
311311

312312
instance_methods.each do |m|
313-
if m.index('print_') == 0
313+
if m.to_s.index('print_') == 0
314314
protect m
315315
end
316316
end

0 commit comments

Comments
 (0)