Issue #3685 has been updated by matz (Yukihiro Matsumoto).

Status changed from Assigned to Rejected

Struct objects are not arrays.  to_ary should be defined for objectw that conform every Array methods.

Matz.

----------------------------------------
Feature #3685: Struct does not define #to_ary, needed for implicit-splat.
https://bugs.ruby-lang.org/issues/3685#change-32709

Author: postmodern (Hal Brodigan)
Status: Rejected
Priority: Low
Assignee: matz (Yukihiro Matsumoto)
Category: 
Target version: next minor


=begin
 Now that #to_ary is used for implicit-splat, I believe it would be useful to support implicit-splat for Structs, since they share some behavior with Arrays.
=end



-- 
http://bugs.ruby-lang.org/