summaryrefslogtreecommitdiff
path: root/ext/pathname
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-31 22:24:03 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-31 22:24:03 +0000
commite63dd598a719a94dc1a0c8ec94c82130f3552a44 (patch)
treec8d9a6414016e50133e906350559c59a0ad8922f /ext/pathname
parent77a2cbccdbfb3673e2ee60b06948ef7d815119f3 (diff)
Pathname: Simplify example [DOC] [ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname')
-rw-r--r--ext/pathname/pathname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c
index 59c2b3e350..b4374c7301 100644
--- a/ext/pathname/pathname.c
+++ b/ext/pathname/pathname.c
@@ -1083,7 +1083,7 @@ s_glob_i(RB_BLOCK_CALL_FUNC_ARGLIST(elt, klass))
/*
* Returns or yields Pathname objects.
*
- * Pathname.glob("config/" "*.rb")
+ * Pathname.glob("config/*.rb")
* #=> [#<Pathname:config/environment.rb>, #<Pathname:config/routes.rb>, ..]
*
* See Dir.glob.