diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-23 02:44:06 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-23 02:44:06 +0000 |
commit | 2bd5ab359d89722eab61584770784cd34ec52b5c (patch) | |
tree | cbe5996b54071f45b332b0bd973252c589c1504b /file.c | |
parent | 9229a0f3cef22308b98b672c16a42c43cfb8f09c (diff) | |
download | ruby-2bd5ab359d89722eab61584770784cd34ec52b5c.tar.gz |
* file.c: [DOC] fix rdoc format of File#expand_path from r43386
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3424,16 +3424,16 @@ rb_file_expand_path_fast(VALUE fname, VALUE dname) * * 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. |