From: ts Date: 2002-09-06T22:01:58+09:00 Subject: Re: Ruby aesthetics >>>>> "C" == Christian Szegedy writes: C> What is bricolage? french word, don't ask :-)) C> What is fl.c? a stupidity :-) pigeon% cat b.rb #!/usr/bin/ruby require 'fl' require 'iis' class A extend FL def invariant(*args) puts "invariant class A" super end def alpha(x, y) pre do puts "A::alpha_pre #{x} -- #{y}" end x + y + 12 end end puts dump A, :alpha puts dump A, "_alpha_pre_0#{A.ancestors.size}" pigeon% pigeon% b.rb def alpha(x, y) invariant _alpha_pre_03(x, y) result = (x + y) + 12 invariant return result end def _alpha_pre_03(x, y) puts("A::alpha_pre #{x} -- #{y}") end pigeon% it modify the def that you have written Guy Decoux