From: Patrick Hurley Date: 2006-07-07T08:22:58+09:00 Subject: Re: Redefining core classes On 7/6/06, Damaris Fuentes wrote: > My question is� if I run > this file with the new definitions..., does the core String class of > Ruby remain changed forever? I dunno�is not this feature a little > dangerous? "Ruby, you'll shoot your eye out" It is changed until you unchange it, or the interpreter stops -- not forever. But yes changing core classes is "dangerous." But so are most things worth doing or having. To quote another movie: "with great power comes great responsibility" Write unit tests and enjoy. pth