diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-31 11:05:38 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-31 11:05:38 +0000 |
commit | 59475e580546a204b30d8f92528213fb8732a8d6 (patch) | |
tree | a7abbe0d3cedf37376f1cc780f4393733c05a89f /ChangeLog | |
parent | 3535039980181c031ed48cdc7bd33973642b7144 (diff) |
merge revision(s) 57887: [Backport #13159]
lib/ostruct.rb: [DOC] revise docs for OpenStruct
* update paragraph on implementation:
define_singleton_method is used, not define_method
* add call-seq with return values for each_pair
* adopt description of dig from Array and Hash
* fix description of the hash method
* :nodoc: initialize_copy, respond_to_missing?
* other small improvements, e.g. use the term `attribute' in the docs
(instead of `member'), which is clearer for users of the class
* improve code examples: e.g. use more consistent style (always use
double quotes, drop `p' and `puts', ...), update inspect output,
use example data that is not prone to change (like population)
* add more code examples
* fix some small errors and grammar
[ruby-core:79265] [Bug #13159]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@62127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -1,3 +1,23 @@ +Wed Jan 31 20:04:47 2018 Marcus Stollsteimer <sto.mar@web.de> + + lib/ostruct.rb: [DOC] revise docs for OpenStruct + + * update paragraph on implementation: + define_singleton_method is used, not define_method + * add call-seq with return values for each_pair + * adopt description of dig from Array and Hash + * fix description of the hash method + * :nodoc: initialize_copy, respond_to_missing? + * other small improvements, e.g. use the term `attribute' in the docs + (instead of `member'), which is clearer for users of the class + * improve code examples: e.g. use more consistent style (always use + double quotes, drop `p' and `puts', ...), update inspect output, + use example data that is not prone to change (like population) + * add more code examples + * fix some small errors and grammar + + [ruby-core:79265] [Bug #13159] + Wed Jan 31 20:02:29 2018 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> rational.c: fix rdoc |