From: Bryan Zarnett Date: 2001-02-27T22:24:20+09:00 Subject: [ruby-talk:11686] The Cookbook and Dave Is there anyone copying some of Dave's responses into the cookbook on the Garden (if Dave does not mind). Everytime he responds I have to go back and change my code somewhere (thanxs Dave). I definitly think things like: command = /#{@pre}\s*(.*?)\s*#{@post}$/s.match(part)[1] and DEBUG && !yield && raise('assertion failed') and class Class def double(single, double) class_eval %{ def #{double}(*args) #{single}(*args) #{single}(*args) end } end end should be in their. Some people might think this stuff is trivial but... Gotta run and change some code again! Bryan _______________________________________________________ Do You Yahoo!? Get your free @yahoo.ca address at http://mail.yahoo.ca