Ok, I would remove my previous post if I could but I can't access it 
anymore.

In any case. I have improved that code to a better version where I rely 
on raise and rescues to handle exceptions generated by the module. No 
more ugly if xxxx != false

Anyway my question was not about how to generate exceptions but about 
the fact of using a struc in my initializers.

I would delete the whole thread anyway...

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to