summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-12 14:16:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-12 14:16:16 +0000
commit857ec7118f69b140f5fd09b16fac9e28b90508f8 (patch)
tree2cf3e8d730c6d09c993756b66117baf4b59fcb36 /ext
parent6f50057bda967cb2ff29d7a2459e906876a39795 (diff)
downloadruby-857ec7118f69b140f5fd09b16fac9e28b90508f8.tar.gz
pathname.c: suppress -Wcomment warning
* ext/pathname/pathname.c (path_s_glob): get rid of "/*" within block comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-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 dd1c5f8878..2bb6ce2f3c 100644
--- a/ext/pathname/pathname.c
+++ b/ext/pathname/pathname.c
@@ -934,7 +934,7 @@ glob_i(VALUE elt, VALUE klass, int argc, VALUE *argv)
/*
* Returns or yields Pathname objects.
*
- * Pathname.glob("config/*.rb")
+ * Pathname.glob("config/" "*.rb")
* #=> [#<Pathname:config/environment.rb>, #<Pathname:config/routes.rb>, ..]
*
* See Dir.glob.