summaryrefslogtreecommitdiff
path: root/test/ruby/test_struct.rb
Commit message (Expand)AuthorAgeFilesLines
* A positional Hash is not keyword arguments [Bug #18632]Nobuyoshi Nakada2022-03-171-2/+3
* Initialize Struct by calling with keyword argumentsNobuyoshi Nakada2021-12-261-3/+2
* Pass UnboundMethod to 2nd arg of define_methodKoichi Sasada2021-12-131-2/+2
* fix Struct's setter arityKoichi Sasada2021-12-131-0/+14
* Struct setter's parameters == `[:req, :_]`Koichi Sasada2021-12-131-0/+15
* Fix setting struct member by public_sendNobuyoshi Nakada2021-11-211-0/+8
* Make Struct#keyword_init? return nil by default [Feature #18008]Nobuyoshi Nakada2021-07-151-0/+3
* Add tests and NEWS [Feature #18008]NARUSE, Yui2021-07-151-0/+8
* Use the dedicated assertionNobuyoshi Nakada2021-01-171-2/+2
* Warn Struct#initialize with only keyword args (#4070)Takashi Kokubun2021-01-171-0/+12
* Classes made from Struct should have default `new` singleton method.Marc-Andre Lafortune2020-05-081-4/+14
* support multi-run for test/ruby/test_struct.rbKoichi Sasada2020-01-281-2/+14
* Update tests for full keyword argument separationJeremy Evans2020-01-021-1/+1
* Reword keyword arguments warning messages to convey these are deprecation war...Marc-Andre Lafortune2019-12-231-1/+1
* vm_args.c: rephrase the warning message of keyword argument separationYusuke Endoh2019-12-201-1/+1
* Fixed misspellingsNobuyoshi Nakada2019-12-201-1/+1
* Reduce duplicated warnings for the change of Ruby 3 keyword argumentsYusuke Endoh2019-11-291-1/+2
* Avoid needless object allocationKazuki Tsujimoto2019-11-191-1/+1
* Fix typoKazuki Tsujimoto2019-11-081-1/+1
* Define Struct#deconstruct_keysKazuki Tsujimoto2019-11-081-0/+12
* Allow only one argument for keyword_init structAlan Wu2019-10-311-0/+1
* Pass the called keyword arguments if `keyword_init`Nobuyoshi Nakada2019-10-211-0/+4
* Fix warning when doing Struct.new(:x, keyword_init: true){}Jeremy Evans2019-09-271-0/+10
* Do not turn on keyword_init for Struct subclass if keyword hash is emptyJeremy Evans2019-09-031-0/+4
* Disallow use of attrset symbols as Struct membersJeremy Evans2019-08-291-0/+4
* struct.c: force hash values fixablenobu2019-04-081-0/+1
* Enumerable#to_h with block and so onnobu2018-09-201-0/+7
* Alias Struct#select as Struct#filter. Patch by Kenichi Kamiya.marcandre2018-09-161-0/+7
* struct.c: show `keyword_init: true` on inspectk0kubun2017-12-121-0/+2
* test_struct.rb: rename constants to clarifyk0kubun2017-12-121-10/+10
* struct.c: add keyword_init option to Struct.newk0kubun2017-12-121-0/+17
* * test/ruby/test_module.rb: Method tables are not guaranteed to beheadius2016-11-141-1/+1
* hash method valuesnobu2016-05-211-1/+1
* Use Integer instead of Fixnum and Bignum.akr2016-05-171-1/+1
* struct.c: unique membersnobu2016-04-161-0/+7
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
* * test_struct.rb: Test that initialize is overridable [#11708]marcandre2015-12-161-0/+6
* struct.c: dignobu2015-11-161-0/+7
* struct.c: fix index in messagenobu2015-11-161-4/+4
* iseq.c: struct accessorsnobu2014-12-161-0/+33
* struct: avoid all O(n) behavior on accessnormal2014-12-091-0/+9
* * test/lib/envutil.rb: Moved from test/ruby/.akr2014-11-131-1/+0
* struct.c: avoid pinning downnobu2014-03-281-0/+4
* parse.y: attrset from junk IDnobu2014-02-131-0/+4
* * struct.c (rb_struct_set): return assigned value from setter methodcharliesome2014-01-041-0/+6
* test/ruby: better assertionsnobu2013-12-131-13/+13
* test_struct.rb: use assert_samenobu2013-12-071-4/+6
* test_struct.rb: use assert_predicatenobu2013-12-071-2/+2
* * test/ruby/test_struct.rb: Add regression test for question marks andcharliesome2013-12-061-0/+12
* struct.c: fix warning messagenobu2013-10-271-43/+76