ts <decoux / moulon.inra.fr> wrote:

> pigeon% cat hab.rb
> module Hab
>  def biv(attributes)
>    attributes.each do |k, v|
>      type.send(:attr_accessor, k)
>      send("#{k}=", v)
>    end
>  end

Ah! It suddenly clicked into place what type.send was doing. Very neat. 

-- 
Martin DeMello