1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/pathname/pathname.c (path_f_pathname): rdoc for Pathname()

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2013-03-08 04:21:43 +00:00
parent df9d847e0b
commit 7d183dab15
2 changed files with 18 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Fri Mar 8 13:20:00 2013 Zachary Scott <zachary@zacharyscott.net>
* ext/pathname/pathname.c (path_f_pathname): rdoc for Pathname()
Fri Mar 8 12:00:00 2013 Zachary Scott <zachary@zacharyscott.net>
* man/rake.1: Document ENVIRONMENT variables on RAKE(1) manpage

View file

@ -1107,7 +1107,20 @@ path_unlink(VALUE self)
}
/*
* Creates a new Pathname object.
* :call-seq:
* Pathname(path) -> pathname
*
* Creates a new Pathname object from the given string, +path+, and returns
* pathname object.
*
* In order to use this constuctor, you must first require the Pathname
* standard library extension.
*
* require 'pathname'
* Pathname("/home/zzak")
* #=> #<Pathname:/home/zzak>
*
* See also Pathname::new for more information.
*/
static VALUE
path_f_pathname(VALUE self, VALUE str)