summaryrefslogtreecommitdiff
path: root/test/ostruct
AgeCommit message (Expand)Author
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