summaryrefslogtreecommitdiff
path: root/lib/ostruct.rb
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-07-26lib/ostruct: Remove unnecessary `__send__`marcandre
2018-02-06lib/ostruct.rb: Use `FrozenError` instead of `RuntimeError`.marcandre
2017-12-12Add uplevel keyword to Kernel#warn and use itshyouhei
2017-10-24lib/ostruct.rb: Use frozen literals.marcandre
2017-04-01ostruct.rb: improve fix for OpenStruct.allocate + #respond_to?eregon
2017-03-28ostruct.rb: refine visibility failure messagenobu
2017-03-24ostruct.rb: fix OpenStruct.allocatenobu
2017-03-11lib/ostruct.rb: [DOC] revise docs for OpenStructstomar
2017-02-03lib/ostruct.rb: Fix returned value of each_pair.marcandre
2016-04-09* lib/ostruct.rb: [DOC] fix position of nodoc directive.ktsj
2016-03-03ostruct.rb: make internal methods privatenobu
2016-01-01* lib/ostruct.rb: Fix case of frozen object with initializer.marcandre
2015-12-31ostruct.rb: deferred accessorsnobu
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* lib/ostruct.rb: Finish defining OpenStruct attributes lazily.eregon
2015-09-26ostruct.rb: fix NameErrornobu
2015-09-26* lib/ostruct.rb: Move method definitions for getter/setter to be lazyzzak
2015-04-14ostruct.rb: match Symbol itselfnobu
2015-01-08Revert GH-808nobu
2015-01-05ostruct.rb: tablenobu
2015-01-05ostruct.rb: append suffixes to protected methodsnobu
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
2013-02-27* lib/ostruct.rb: Typo in OpenStruct overview [Github Fixes #251]zzak
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: Simplify codemarcandre
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-10-28* lib/ostruct.rb: Protect new_ostruct_member [ruby-core:42779] [#6056]marcandre
2012-10-28* lib/ostruct.rb: Remove rdoc details on marshal_{load|dump} and fix rdocmarcandre
2012-04-24* hash.c, object.c, struct.c, lib/ostruct.rb: add to_h methods.nobu
2012-04-18Revert r35339-35343 because of no tests.naruse
2012-04-16* lib/ostruct.rb: Add OpenStruct#to_h [Feature #6276]marcandre
2012-02-22* lib/ostruct.rb (delete_field): Bug fix so previous value is returned.marcandre
2012-02-15* lib/ostruct.rb: Create getters and setters after dup.marcandre
2012-02-15* lib/ostruct.rb: Simplify and fix rdoc.marcandre
2011-08-26* ext/pathname/lib/pathname.rb: Fix typos and grammar mistakes. Patchdrbrain
2011-05-27* lib/ostruct.rb (method_missing): Handle [] and []= correctly.marcandre
2011-05-22 * lib/ostruct.rb: Improve documentation. Patch by Franklin Webber.drbrain
2010-11-03* lib/ostruct.rb (OpenStruct#delete_field): also undefinenobu
2009-03-06* {ext,lib,test}/**/*.rb: removed trailing spaces.nobu