ruby-changes:48480
From: marcandre <ko1@a...>
Date: Wed, 1 Nov 2017 07:24:09 +0900 (JST)
Subject: [ruby-changes:48480] marcandRe: r60594 (trunk): Pathname: Simplify example [DOC] [ci-skip]
marcandre 2017-11-01 07:24:03 +0900 (Wed, 01 Nov 2017) New Revision: 60594 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60594 Log: Pathname: Simplify example [DOC] [ci-skip] Modified files: trunk/ext/pathname/pathname.c Index: ext/pathname/pathname.c =================================================================== --- ext/pathname/pathname.c (revision 60593) +++ ext/pathname/pathname.c (revision 60594) @@ -1083,7 +1083,7 @@ s_glob_i(RB_BLOCK_CALL_FUNC_ARGLIST(elt, https://github.com/ruby/ruby/blob/trunk/ext/pathname/pathname.c#L1083 /* * Returns or yields Pathname objects. * - * Pathname.glob("config/" "*.rb") + * Pathname.glob("config/*.rb") * #=> [#<Pathname:config/environment.rb>, #<Pathname:config/routes.rb>, ..] * * See Dir.glob. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/