aboutsummaryrefslogtreecommitdiffstats
path: root/compile.c
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-11 21:32:46 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-11 21:32:46 +0000
commit44fbaaae46c32452beb5778b9f6020cd11fd68f6 (patch)
tree8ce2473cd6641cc58f5407aa010262905656d323 /compile.c
parent605b472d2d33ec9f0cea9e8b57a558fac3e0302d (diff)
downloadruby-44fbaaae46c32452beb5778b9f6020cd11fd68f6.tar.gz
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/trunk@57887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
0 files changed, 0 insertions, 0 deletions