Hello,

before deciding if I should fix that in ruote, I looked at it from irb (ruby
1.9.3p392 on Debian GNU/Linux 7).

Doing "raise NameError, String" results in a NameError that makes irb exit.

```
NameError: /opt/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/irb.rb:168:in `to_s':
can't convert Class into String (TypeError)
```

Doing "raise NameError, "String"" results in a "normal" NameError.

```
NameError: String
```

Looking at the documentation of raise:

  http://www.ruby-doc.org/core-2.0.0/Kernel.html#method-i-raise

Are you sure you want to use raise(class, class) where raise(class, string)
is expected?

(If that's a new thing in Ruby 1.9 or 2.0 please point me to the doc (that
made you use raise(class, class))).


Best regards,

--
John Mettraux   -   http://lambda.io/jmettrauX

-- 
-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"ruote" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to