On Tue, Jan 27, 2004 at 04:40:59PM +0900, Zachary P. Landau wrote: > > # keep this secret :P > > module MethodCalledMagic [...] > > end > > Promise us you will never show this code to anyone who is considering > ruby. They will run away screaming halfway through the first method. batsman@tux-chan:/tmp$ diff -u e.rb.old e.rb --- e.rb.old 2004-01-27 14:38:08.000000000 +0100 +++ e.rb 2004-01-27 14:41:37.000000000 +0100 @@ -1,5 +1,6 @@ -# keep this secret :P +### !!!!! TOP SECRET !!!!! +# NOT TO BE DISCLOSED TO RUBY NEWBIES UNDER ANY CIRCUMSTANCE module MethodCalledMagic def method_added(id) @level ||= 0 @@ -24,6 +25,8 @@ end end +### end of top secret section + # this is what your son sees class Dog extend MethodCalledMagic # ;-) -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com It's easy to get on the internet and forget you have a life -- Topic on #LinuxGER