Project

General

Profile

Actions

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.

Status:
Rejected
Target version:
[ruby-core:31686]

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0