diff options
-rw-r--r-- | ext/pathname/pathname.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c index e511560500..6b51b15f10 100644 --- a/ext/pathname/pathname.c +++ b/ext/pathname/pathname.c @@ -657,6 +657,13 @@ path_make_link(VALUE self, VALUE old) } /* + * call-seq: + * pathname.open() + * pathname.open(mode="r" [, opt]) -> file + * pathname.open([mode [, perm]] [, opt]) -> file + * pathname.open(mode="r" [, opt]) {|file| block } -> obj + * pathname.open([mode [, perm]] [, opt]) {|file| block } -> obj + * * Opens the file for reading or writing. * * See File.open. |