>>>>> "M" == Massimiliano Mirra <list / NOSPAMchromatic-harp.com> writes:

M> Did you mean methods with optional blocks?

M> FWIW, this is how the #scan method in my Archive::Reader::XYZ classes
M> behaves:

 Well, it really depend on what you want to do. For example File::open can
 take a block, but not File::new

 Generally I try to mimic ruby, except when I forget and I make something
 completely different :-)))


Guy Decoux