From: gabriele renzi Date: 2004-06-02T03:53:41+09:00 Subject: [Ruby2]how to dynamically attach :pre :post :wrap ro methods? Hi gurus and nubys, Loooking forward to the syntax def foo:pre end I wonder: could we add preconditions without resorting to syntax? Would we have something like this: myobj.methods.each do |m| m.wrap(:pre) {|*args| p args } end ? Sounds obvious and necessary to me, but I can't remeber talks about this.. TIA