Pathname: Simplify example [DOC] [ci-skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
marcandre 2017-10-31 22:24:03 +00:00
parent 77a2cbccdb
commit e63dd598a7

View File

@ -1083,7 +1083,7 @@ s_glob_i(RB_BLOCK_CALL_FUNC_ARGLIST(elt, klass))
/* /*
* Returns or yields Pathname objects. * Returns or yields Pathname objects.
* *
* Pathname.glob("config/" "*.rb") * Pathname.glob("config/*.rb")
* #=> [#<Pathname:config/environment.rb>, #<Pathname:config/routes.rb>, ..] * #=> [#<Pathname:config/environment.rb>, #<Pathname:config/routes.rb>, ..]
* *
* See Dir.glob. * See Dir.glob.