Issue #1145 has been updated by Hiroshi NAKAMURA.

Target version set to 1.9.3


----------------------------------------
Bug #1145: IRB adds trailing quote to wtring methods when performing auto-completion
http://redmine.ruby-lang.org/issues/1145

Author: C I
Status: Assigned
Priority: Normal
Assignee: Keiju Ishitsuka
Category: 
Target version: 1.9.3
ruby -v: ruby 1.8.7 (2008-08-11 patchlevel 72) [powerpc-darwin8]


=begin
 IRB adds a trailing quote to some method names when performing an autocompletion. IRB does this for single quote and double quote string literals. 
 Not all methods are effected (for example '.delete' is fine) but at least the following are: .length, .size, .inspect, .to_i
 
 
 Steps to replicate:
 1. Enable autocompletion by adding the following line to your ~/.irbrc:
     require 'irb/completion'
 
 2. Type any string literal, a period, and the characters 'len' to indicate the 'length' method
 
 3. Press tab
 
 To illustrate:
 power-mac-g4:~ $ irb
 irb(main):001:0> 'test'.len<TAB>
                     .....becomes...
 irb(main):001:0> 'test'.length'
=end



-- 
http://redmine.ruby-lang.org