From: Lennon Day-Reynolds Date: 2004-06-26T02:03:46+09:00 Subject: Re: Is it considered Harmful? > Are there limitations on evil.rb's implementation of become? How do you > get around Guy's concerns about crashing? The default implementation simply does a check to insure that you're not trying to monkey with certain core classes (Object, Class, String, etc.) in dangerous ways. It also has checks for circularity, and won't allow you to call #become on immediate values (nil, true/false, fixnums). That being said, you can certainly still shoot yourself in the foot -- once you've done 'require "evil"', every object (including core classes) has a method #internal_ptr, which gives you C-like raw access to the memory space that object occupies. Lennon