Class Data is already defined

Hi,

We had a module named Data in our application. After I updated to

trunk today, I noticed that a class named Data is already defined.

So this code :

module Data
end

causes :

:1: Data is not a module (TypeError)

Is this temporary, or will it always be like this ? I went back to

an earlier version, and it worked fine, but I’m wondering if we should
change our code.

thanks,
Ricardo


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

This is expected, you will experience the same behavior using MRI since
Data class is visible by default . This was fixed during our latest
refactorings and compatibility work.

Marcin

Ricardo T. wrote:


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs