> class Sequel::Dataset
>  def geta(*a)
>    select(*a).first.values_at(*a)
>  end
> end
>
> Well, that's interesting in of itself.  What does it mean to define a
method with an * preceding the parameter's name?  (Ruby novice question, I
suppose!)

Michael
-- 
http://codeconnoisseur.org

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to