[前][次][番号順一覧][スレッド一覧]

ruby-changes:48486

From: nobu <ko1@a...>
Date: Wed, 1 Nov 2017 12:26:31 +0900 (JST)
Subject: [ruby-changes:48486] nobu:r60600 (trunk): Pathname: get rid of a -Wcomment warning [DOC]

nobu	2017-11-01 12:26:27 +0900 (Wed, 01 Nov 2017)

  New Revision: 60600

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60600

  Log:
    Pathname: get rid of a -Wcomment warning [DOC]

  Modified files:
    trunk/ext/pathname/pathname.c
Index: ext/pathname/pathname.c
===================================================================
--- ext/pathname/pathname.c	(revision 60599)
+++ ext/pathname/pathname.c	(revision 60600)
@@ -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/

[前][次][番号順一覧][スレッド一覧]