From: James French Date: 2009-06-11T18:55:53+09:00 Subject: method= and block Hi, In ruby 1.8.7 this does not work (syntax error): class A def test=(val, &block) end end A.new.test = 10 do end I would really like to an associate a block in this way. Is there a way round this? Cheers, James