Feature #3685
closed
Struct does not define #to_ary, needed for implicit-splat.
Added by postmodern (Hal Brodigan) over 14 years ago.
Updated about 12 years ago.
Description
=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
- Status changed from Open to Assigned
- Assignee set to naruse (Yui NARUSE)
- Assignee changed from naruse (Yui NARUSE) to matz (Yukihiro Matsumoto)
- Description updated (diff)
- Target version set to 2.6
- Status changed from Assigned to Rejected
Struct objects are not arrays. to_ary should be defined for objectw that conform every Array methods.
Matz.
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0