>>>>> "P" == Paul Brannan <pbrannan / atdesk.com> writes:

P> What exactly does this mean?  Do both forms of '*' now use the same
P> method for conversion to array?  If so, which one?


svg% cat b.rb
#!/usr/bin/ruby
class A
   def to_a
      [1, 2]
   end
end

def a(*args)
   p args
end

a(*A.new)
svg%
 
svg% ruby b.rb
[1, 2]
svg% 


Guy Decoux