On 2012-10-01 06:35, Andrej Mitrovic wrote:
Is that a bug or a feature? :)
Actually you can do the same thin in Ruby, at least with strings. This is can be kind of nice, no need to create a new exception type. But in Ruby the string is wrapped in an instance of RuntimeError, so that might not be comparable.
raise "foo"
Is the same as:
raise RuntimeError.new("foo")
--
/Jacob Carlborg
