Community
Participate
Working Groups
Build ID: I20070323-1616 Steps To Reproduce: 1.Open up Ruby editor. 2.Past the following class in there: class BaseTemplate attr_accessor :variable_template def initialize(name, abbrev, body, description) @name = name @shortcut, @body, @description = shortcut, body, description # Template variable @variable_template = /\$\{\w+\}/ # ${variable} end def variable_gsub_expession "${\\1}" end # Parses template body def parse_body(variable_template) gsub_entities_in_body! end protected def gsub_entities_in_body! subs = { /"/ => '"', / / => "\n" } subs.each { |k, v| @body.gsub!(k, v) } end end 3. Try to call auto complete in parse_body method. As you can see @name and @variable_template, assigned using singular assignment, are completed okay, while other variables are absent in the list. More information: More on parallel assignment gotchas in Ruby at http://www.rubycentral.com/book/tut_expressions.html
Fixed.
Changing OS from Mac OS to Mac OS X as per bug 185991
bulk change: fixed in 0.95