Project

General

Profile

Actions

Feature #3685

closed

Struct does not define #to_ary, needed for implicit-splat.

Added by postmodern (Hal Brodigan) over 13 years ago. Updated over 11 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