Ok but just take a look here [1].

-Francesco

[1] http://blog.rubybestpractices.com/posts/gregory/anonymous_class_hacks.html

----- Original Message -----
From: "David Lutterkort" <[email protected]>
To: [email protected]
Sent: Thursday, February 3, 2011 1:56:09 AM
Subject: Re: [PATCH core] Modified the way custom Exception are created on 
rabbit.rb, using Class.new

On Wed, 2011-02-02 at 15:53 +0100, [email protected] wrote:
> Modified the way custom Exception are created on rabbit.rb using the
> Class.new way since its a clean way to have this kind of class
> defined.

NAK. The way it is right now is perfectly understandable Ruby (I'd argue
more understandable than Class.new to create a subclass)

David


Reply via email to