Project

General

Profile

« Previous | Next » 

Revision 5c8edab9

Added by ktsj (Kazuki Tsujimoto) about 8 years ago

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e