aboutsummaryrefslogtreecommitdiffstats
path: root/test/ostruct
Commit message (Expand)AuthorAgeFilesLines
* Fix method protection for modules in the ancestry chain.Marc-Andre Lafortune2021-01-121-0/+34
* strip trailing spaces [ci skip]Nobuyoshi Nakada2021-01-061-1/+1
* [ruby/ostruct] Allow ostruct to return a value on super (#4028)Adam Hess2021-01-051-0/+8
* [ruby/ostruct] Add Ractor testMarc-Andre Lafortune2020-12-191-12/+11
* [lib/ostruct] Fix Marshal loadingMarc-Andre Lafortune2020-10-061-0/+6
* stop Ractor test in test-allKoichi Sasada2020-10-011-0/+3
* [ruby/ostruct] Improved YAML serialization.Marc-Andre Lafortune2020-09-301-0/+21
* [ruby/ostruct] Add test that frozen OpenStructs are Ractor-shareableMarc-Andre Lafortune2020-09-301-0/+11
* [ruby/ostruct] Protect subclass' methods and our bang methods.Marc-Andre Lafortune2020-09-301-1/+23
* [ruby/ostruct] Avoid calling initializeMarc-Andre Lafortune2020-09-301-0/+9
* test/ostruct/test_ostruct.rb: Prevent "method redefined; discarding old foo"Yusuke Endoh2020-09-241-0/+3
* Fix typos [ci skip]Kazuhiro NISHIYAMA2020-09-171-2/+2
* [ruby/ostruct] Avoid self calling our public methods.Marc-Andre Lafortune2020-09-141-0/+18
* [ruby/ostruct] Reinstate recent changesMarc-Andre Lafortune2020-09-141-0/+16
* [ruby/ostruct] Revert recent changesMarc-Andre Lafortune2020-09-141-16/+0
* [ruby/ostruct] Add access to public instance methods in case they are overridenMarc-Andre Lafortune2020-09-141-0/+5
* [ruby/ostruct] Allow overriding public methodsMarc-Andre Lafortune2020-09-141-0/+6
* [ruby/ostruct] Add really basic test that was missingMarc-Andre Lafortune2020-09-141-0/+5
* [ruby/ostruct] Revert "ostruct.rb: deferred accessors"Marc-Andre Lafortune2020-09-141-1/+6
* lib/ostruct.rb: Revert "To use RuntimeError instead of FrozenError for old ru...Marc-Andre Lafortune2020-09-041-4/+3
* Prefer dedicated assertion methodNobuyoshi Nakada2020-02-251-1/+1
* ostruct.rb: Accept block for to_h [#15451].marcandre2018-12-221-0/+7
* Support old versions of Ruby with FrozenError.hsbt2018-08-071-3/+4
* lib/ostruct.rb: Use `FrozenError` instead of `RuntimeError`.marcandre2018-02-061-3/+3
* test/ostruct: Specify frozen_string_literal: true.kazu2017-10-251-1/+1
* lib/ostruct.rb: Use frozen literals.marcandre2017-10-241-0/+2
* ostruct.rb: refine visibility failure messagenobu2017-03-281-0/+24
* ostruct.rb: fix OpenStruct.allocatenobu2017-03-241-0/+9
* lib/ostruct.rb: Fix returned value of each_pair.marcandre2017-02-031-0/+1
* test_ostruct.rb: sort method namesnobu2016-01-041-1/+1
* * lib/ostruct.rb: Fix case of frozen object with initializer.marcandre2016-01-011-1/+2
* * lib/ostruct.rb: Fix new_ostruct_member to correctly avoid redefinitionmarcandre2015-12-311-0/+17
* ostruct.rb: respond_to?nobu2015-12-291-0/+4
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
* * lib/ostruct.rb: Have OpenStruct#dig raise if argument is not a symbolmarcandre2015-12-121-1/+1
* OpenStruct#dignobu2015-11-171-0/+11
* * test/ostruct/test_ostruct.rb: Add tests for OpenStruct#respond_to.eregon2015-10-141-0/+13
* Revert GH-808nobu2015-01-081-6/+0
* ostruct.rb: append suffixes to protected methodsnobu2015-01-051-0/+6
* Suppress warnings: ambiguous first argument; put parentheses or even spacesnaruse2013-11-061-2/+2
* * lib/ostruct.rb: raise NoMethodError with a #name and #args.marcandre2013-10-231-0/+10
* * lib/ostruct.rb (Struct#each_pair): Return an enumerator with sizemarcandre2013-10-231-0/+1
* * lib/ostruct.rb (OpenStruct#delete): Use the converted argument.marcandre2013-10-231-0/+10
* * lib/ostruct.rb: Raise RuntimeError when modifying frozen instancesmarcandre2013-10-231-3/+3
* * lib/ostruct.rb: Add [] and []=, base on a patch by Thomas Sawyermarcandre2012-10-281-6/+11
* * lib/ostruct.rb: Also accept {Open}Struct as argument to newmarcandre2012-10-281-0/+7
* * lib/ostruct.rb: Add OpenStruct#eql? and OpenStruct#hashmarcandre2012-10-281-0/+10
* * lib/ostruct.rb (each_pair): Add #each_pair [#1400]marcandre2012-10-281-0/+7
* * hash.c, object.c, struct.c, lib/ostruct.rb: add to_h methods.nobu2012-04-241-0/+12
* * lib/ostruct.rb (delete_field): Bug fix so previous value is returned.marcandre2012-02-221-1/+2