diff options
author | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-04 08:58:59 +0000 |
---|---|---|
committer | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-04 08:58:59 +0000 |
commit | eef90cb37ed6fdb804eb1927697b41fd35d6ea7a (patch) | |
tree | 7ad690e8de51e65b602c430195499488dd203fbf /ext/.document | |
parent | a16444946cb1fdd1cccdb069384a1bd01be2d1f7 (diff) | |
download | ruby-eef90cb37ed6fdb804eb1927697b41fd35d6ea7a.tar.gz |
dir.c: [DOC] Properly refer to keyword argument by its name [Fix GH-1543]
enc is the name of the variable used in the example, not the name of the
keyword argument (encoding).
The documentation used to wrongly suggest that the keyword argument name was
"enc" which could cause people try try to call `Dir.open("thing", enc: "utf-8")`
Author: Olivier Lacan <hi@olivierlacan.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/.document')
0 files changed, 0 insertions, 0 deletions