Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: fbdf86fac7
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (13 sloc) 0.443 kb
diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb
index 000658e..609dca3 100644
--- a/lib/irb/completion.rb
+++ b/lib/irb/completion.rb
@@ -157,7 +157,7 @@ module IRB
end
next if name != "IRB::Context" and
/^(IRB|SLex|RubyLex|RubyToken)/ =~ name
- candidates.concat m.instance_methods(false)
+ candidates.concat m.instance_methods(false).map { |m| m.to_s }
}
candidates.sort!
candidates.uniq!
Jump to Line
Something went wrong with that request. Please try again.