[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Marshall and Modules

S. Robert James

12/11/2006 2:47:00 AM

I get loads of problems when using Marshall (ie, in CGI::Session) for
objects that are in Modules (ie, not defined in the top level
namespace).

Any rules of thumb here?

1 Answer

Eric Hodel

12/11/2006 4:25:00 AM

0

On Dec 10, 2006, at 18:50 , S. Robert James wrote:

> I get loads of problems when using Marshall (ie, in CGI::Session) for
> objects that are in Modules (ie, not defined in the top level
> namespace).

What kind of problems? Examples?

> Any rules of thumb here?

It should work no fine provided you have all classes loaded at the
time of Marshal.load.

--
Eric Hodel - drbrain@segment7.net - http://blog.se...

I LIT YOUR GEM ON FIRE!