aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-04 08:58:59 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-04 08:58:59 +0000
commiteef90cb37ed6fdb804eb1927697b41fd35d6ea7a (patch)
tree7ad690e8de51e65b602c430195499488dd203fbf /vm_insnhelper.c
parenta16444946cb1fdd1cccdb069384a1bd01be2d1f7 (diff)
downloadruby-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 'vm_insnhelper.c')
0 files changed, 0 insertions, 0 deletions