From: vikkous Date: 2005-04-27T03:34:33+09:00 Subject: Re: Announcing Reg 0.4.0 vikkous said: > require 'reg' > > class Object > def quack > RegOr.new *methods > end > end Well, not quite. If Florian's Symbol#=== existed it would work, otherwise it has to be like: require 'reg' class Object def quack RegOr.new *methods.map{|m| proceq{|x| x.respond_to? m } } end end