[ruby-cvs:68318] k0kubun:r61137 (trunk): struct.c: add keyword_init option to Struct.new

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Tue Dec 12 17:12:43 JST 2017


k0kubun	2017-12-12 17:12:43 +0900 (Tue, 12 Dec 2017)

  New Revision: 61137

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61137

  Log:
    struct.c: add keyword_init option to Struct.new
    
    to initialize struct with keyword arguments.
    
    [Feature #11925] [close GH-1771]

  Modified files:
    trunk/spec/ruby/core/struct/new_spec.rb
    trunk/struct.c
    trunk/test/ruby/test_struct.rb


More information about the ruby-cvs mailing list