From: Austin Ziegler Date: 2005-01-20T04:43:48+09:00 Subject: Re: is defined? fast? On Thu, 20 Jan 2005 02:46:01 +0900, Robert Klemme wrote: > Looks like the simple var check is better performance wise. Personally I > never felt the need for defined? - only during my initial Ruby stages, > when I carried some Perl thinking with me; but never after I got rid of > that. :-) I now use it like this: unless defined?(Text) module Text; end end class Text::Format ... end Saves me some indentation levels and keeps the code readable and working. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca