ruby-changes:31314
From: zzak <ko1@a...>
Date: Wed, 23 Oct 2013 11:44:13 +0900 (JST)
Subject: [ruby-changes:31314] zzak:r43393 (trunk): * file.c: [DOC] fix rdoc format of File#expand_path from r43386
zzak 2013-10-23 11:44:06 +0900 (Wed, 23 Oct 2013) New Revision: 43393 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43393 Log: * file.c: [DOC] fix rdoc format of File#expand_path from r43386 Modified files: trunk/ChangeLog trunk/file.c Index: ChangeLog =================================================================== --- ChangeLog (revision 43392) +++ ChangeLog (revision 43393) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Oct 23 11:43:27 2013 Zachary Scott <e@z...> + + * file.c: [DOC] fix rdoc format of File#expand_path from r43386 + Tue Oct 22 21:58:28 2013 URABE Shyouhei <shyouhei@r...> * vm_core.h (enum): avoid syntax error. Index: file.c =================================================================== --- file.c (revision 43392) +++ file.c (revision 43393) @@ -3424,16 +3424,16 @@ rb_file_expand_path_fast(VALUE fname, VA https://github.com/ruby/ruby/blob/trunk/file.c#L3424 * * Converts a pathname to an absolute pathname. Relative paths are * referenced from the current working directory of the process unless - * <i>dir_string</i> is given, in which case it will be used as the + * +dir_string+ is given, in which case it will be used as the * starting point. The given pathname may start with a * ``<code>~</code>'', which expands to the process owner's home - * directory (the environment variable <code>HOME</code> must be set + * directory (the environment variable +HOME+ must be set * correctly). ``<code>~</code><i>user</i>'' expands to the named * user's home directory. * * File.expand_path("~oracle/bin") #=> "/home/oracle/bin" * - * A simple example of using <i>dir_string</i> is as follows. + * A simple example of using +dir_string+ is as follows. * File.expand_path("ruby", "/usr/bin") #=> "/usr/bin/ruby" * * A more complex example which also resolves parent directory is as follows. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/