Skip to content
Browse files

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
  • Loading branch information...
1 parent 6f50057 commit 857ec7118f69b140f5fd09b16fac9e28b90508f8 @nobu nobu committed Sep 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/pathname/pathname.c
View
2 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.

0 comments on commit 857ec71

Please sign in to comment.
Something went wrong with that request. Please try again.