summaryrefslogtreecommitdiff
path: root/test/ostruct
AgeCommit message (Expand)Author
2018-12-22ostruct.rb: Accept block for to_h [#15451].marcandre
2018-08-07Support old versions of Ruby with FrozenError.hsbt
2018-02-06lib/ostruct.rb: Use `FrozenError` instead of `RuntimeError`.marcandre
2017-10-25test/ostruct: Specify frozen_string_literal: true.kazu
2017-10-24lib/ostruct.rb: Use frozen literals.marcandre
2017-03-28ostruct.rb: refine visibility failure messagenobu
2017-03-24ostruct.rb: fix OpenStruct.allocatenobu
2017-02-03lib/ostruct.rb: Fix returned value of each_pair.marcandre
2016-01-04test_ostruct.rb: sort method namesnobu
2016-01-01* lib/ostruct.rb: Fix case of frozen object with initializer.marcandre
2015-12-31* lib/ostruct.rb: Fix new_ostruct_member to correctly avoid redefinitionmarcandre
2015-12-29ostruct.rb: respond_to?nobu
2015-12-16Add frozen_string_literal: false for all filesnaruse
2015-12-12* lib/ostruct.rb: Have OpenStruct#dig raise if argument is not a symbolmarcandre
2015-11-17OpenStruct#dignobu
2015-10-14* test/ostruct/test_ostruct.rb: Add tests for OpenStruct#respond_to.eregon
2015-01-08Revert GH-808nobu
2015-01-05ostruct.rb: append suffixes to protected methodsnobu
2013-11-06Suppress warnings: ambiguous first argument; put parentheses or even spacesnaruse
2013-10-23* lib/ostruct.rb: raise NoMethodError with a #name and #args.marcandre
2013-10-23* lib/ostruct.rb (Struct#each_pair): Return an enumerator with sizemarcandre
2013-10-23* lib/ostruct.rb (OpenStruct#delete): Use the converted argument.marcandre
2013-10-23* lib/ostruct.rb: Raise RuntimeError when modifying frozen instancesmarcandre
2012-10-28* lib/ostruct.rb: Add [] and []=, base on a patch by Thomas Sawyermarcandre
2012-10-28* lib/ostruct.rb: Also accept {Open}Struct as argument to newmarcandre
2012-10-28* lib/ostruct.rb: Add OpenStruct#eql? and OpenStruct#hashmarcandre
2012-10-28* lib/ostruct.rb (each_pair): Add #each_pair [#1400]marcandre
2012-04-24* hash.c, object.c, struct.c, lib/ostruct.rb: add to_h methods.nobu
2012-02-22* lib/ostruct.rb (delete_field): Bug fix so previous value is returned.marcandre
2011-05-27* lib/ostruct.rb (method_missing): Handle [] and []= correctly.marcandre
2010-11-03* lib/ostruct.rb (OpenStruct#delete_field): also undefinenobu
2009-03-06* {ext,lib,test}/**/*.rb: removed trailing spaces.nobu
2009-02-27* lib/ostruct.rb (modifiable): check if really frozen.nobu
2009-02-17* test/ostruct/test_ostruct.rb (test_frozen): added assertions.nobu
2009-02-15* lib/ostruct.rb (OpenStruct#new_ostruct_member): checks if frozen.nobu
2009-01-13* lib/ostruct.rb (OpenStruct#inspect): fixed the recursion check.yugui
2003-09-25 * lib/ostruct.rb: Added OpenStruct#==.ntalbott