Actions
Feature #9209
closedStruct instances creatable with named args
Status:
Closed
Assignee:
-
Target version:
-
Description
now that ruby supports named params it seems natural for Struct to make use of them.
Struct.new(:a).new(a: 1)
Updated by herwinw (Herwin Quarantainenet) about 8 years ago
This looks like a duplicate of #11925 (or maybe the other way around, but the other ticket includes more information)
Updated by shyouhei (Shyouhei Urabe) almost 8 years ago
- Is duplicate of Feature #11925: Struct construction with kwargs added
Updated by shyouhei (Shyouhei Urabe) almost 8 years ago
- Status changed from Open to Closed
please continue to issue #11925.
Actions
Like0
Like0Like0Like0