On 05/05/05, Rob . <rob.02004 / gmail.com> wrote:
> Alex, I don't get an exception in this case, but I see what you mean.
> The plugin can easily determine the type of the following and provide
> the appropriate method popup list. It should be an easy fix. Are there
> any others I'm missing apart from these:
> 
> irb> {}.class
> => Hash
> 
> irb> "".class
> => String
> 
> irb> ''.class
> => String
> 
> irb> [].class
> => Array
> 

irb(main):001:0> %().class
=> String
irb(main):002:0> %//.class
=> String
irb(main):003:0> %{}.class
=> String
irb(main):004:0> %|and many more|.class
=> String
irb(main):005:0> %r().class
=> Regexp
irb(main):006:0> %r|and many more|.class
=> Regexp

and the whole % family ;)

regards,

Brian


-- 
http://ruby.brian-schroeder.de/

multilingual _non rails_ ruby based vocabulary trainer:
http://www.vocabulaire.org/ | http://www.gloser.org/ | http://www.vokabeln.net/