On Fri, May 23, 2008 at 4:43 PM, Wilson Bilkovich <wilsonb / gmail.com> wrote:

> Unfortunately Class#name is very popular in Ruby code.
> Here, for example, is test/unit's TestCase definition:
>    class TestCase
>      include Assertions
>      include Util::BacktraceFilter
>
>      attr_reader :method_name
>
>      STARTED = name + "::STARTED"
>      FINISHED = name + "::FINISHED"
>
Good to know, that will break than in 1.9.
>
> What would people use, with your change, to implement such things?
Let the user decide if she wants to name her classes,

      STARTED = ( name rescue "") ...

No I am not serious, I know, that would put too much burden on the user :(
Point taken.
Robert