From: Kyle Mitchell Date: 2007-02-26T04:15:06+09:00 Subject: Blocks in class_eval the following works: ///// BEGIN funcmeta.rb ///// def func_meta(&b) class_eval { @@proc = b #guilt begins here def test @@proc.call end } end class Test func_meta { puts("test") } end t = Test.new t.test ///// END funcmeta.rb ///// any clean way to do this without resorting to a class variable? thanks in advance, you darned helpful people! ~Kyle