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