summaryrefslogtreecommitdiff
path: root/test/ostruct
Commit message (Expand)AuthorAgeFilesLines
* 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
* * lib/ostruct.rb (method_missing): Handle [] and []= correctly.marcandre2011-05-271-0/+11
* * lib/ostruct.rb (OpenStruct#delete_field): also undefinenobu2010-11-031-0/+13
* * {ext,lib,test}/**/*.rb: removed trailing spaces.nobu2009-03-061-1/+1
* * lib/ostruct.rb (modifiable): check if really frozen.nobu2009-02-271-0/+4
* * test/ostruct/test_ostruct.rb (test_frozen): added assertions.nobu2009-02-171-0/+2
* * lib/ostruct.rb (OpenStruct#new_ostruct_member): checks if frozen.nobu2009-02-151-0/+8
* * lib/ostruct.rb (OpenStruct#inspect): fixed the recursion check.yugui2009-01-131-0/+14
* * lib/ostruct.rb: Added OpenStruct#==.ntalbott2003-09-251-0/+23