fix-irb-completion.diff 443 B

12345678910111213
  1. diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb
  2. index 000658e..609dca3 100644
  3. --- a/lib/irb/completion.rb
  4. +++ b/lib/irb/completion.rb
  5. @@ -157,7 +157,7 @@ module IRB
  6. end
  7. next if name != "IRB::Context" and
  8. /^(IRB|SLex|RubyLex|RubyToken)/ =~ name
  9. - candidates.concat m.instance_methods(false)
  10. + candidates.concat m.instance_methods(false).map { |m| m.to_s }
  11. }
  12. candidates.sort!
  13. candidates.uniq!