Your IP : 216.73.216.74


Current Path : /usr/local/rvm/src/rvm/patches/ruby/1.8.6/
Upload File :
Current File : //usr/local/rvm/src/rvm/patches/ruby/1.8.6/fix-irb-completion.diff

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!