Feature #9209

Struct instances creatable with named args

Added by First Last about 1 year ago.

[ruby-core:58846]
Status:Open
Priority:Normal
Assignee:-

Description

now that ruby supports named params it seems natural for Struct to make use of them.

Struct.new(:a).new(a: 1)

Also available in: Atom PDF