[#78633] ruby/spec needs help from CRuby committers — Benoit Daloze <eregontp@...>

Currently, ruby/spec is maintained mostly by individuals and enjoys the

13 messages 2016/12/13

[ruby-core:78762] [Ruby trunk Feature#9209][Closed] Struct instances creatable with named args

From: shyouhei@...
Date: 2016-12-21 06:52:39 UTC
List: ruby-core #78762
Issue #9209 has been updated by Shyouhei Urabe.

Status changed from Open to Closed

please continue to issue #11925.

----------------------------------------
Feature #9209: Struct instances creatable with named args
https://bugs.ruby-lang.org/issues/9209#change-62163

* Author: First Last
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
now that ruby supports named params it seems natural for Struct to make use of them.

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



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next