--- a/DebugClients/Ruby/Completer.rb Tue Jan 04 17:37:48 2011 +0100 +++ b/DebugClients/Ruby/Completer.rb Wed Jan 05 15:46:19 2011 +0100 @@ -135,7 +135,7 @@ # Global variable candidates = global_variables.grep(Regexp.new(Regexp.quote($1))) -# when /^(\$?(\.?[^.]+)+)\.([^.]*)$/ +## when /^(\$?(\.?[^.]+)+)\.([^.]*)$/ when /^((\.?[^.]+)+)\.([^.]*)$/ # variable receiver = $1 @@ -179,7 +179,7 @@ else candidates = eval("methods | private_methods | local_variables | self.class.constants", @binding) - + (candidates|ReservedWords).grep(/^#{Regexp.quote(input)}/) end end