diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-22 12:32:30 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-22 12:32:30 +0000 |
commit | 81cd54e60758b09048fdee5631b30816209c2ed9 (patch) | |
tree | 65eb90a4f60f5a338a7ec8776b365f485fb3170d /ext | |
parent | 3d5cbba16900a205ee6b28a519ad6638138608bf (diff) | |
download | ruby-81cd54e60758b09048fdee5631b30816209c2ed9.tar.gz ruby-81cd54e60758b09048fdee5631b30816209c2ed9.tar.xz ruby-81cd54e60758b09048fdee5631b30816209c2ed9.zip |
update rdoc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/pty/pty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c index c44953ca1..5db349872 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -437,8 +437,8 @@ pty_close_pty(VALUE assoc) /* * call-seq: - * master_io, slave_file = PTY.open - * PTY.open {|master_io, slave_file| ... } + * PTY.open => [master_io, slave_file] + * PTY.open {|master_io, slave_file| ... } => block value * * Allocates a pty (pseudo-terminal). * @@ -450,7 +450,7 @@ pty_close_pty(VALUE assoc) * The value of the block is returned. * master_io and slave_file is closed when return if they are not closed. * - * The filename of the slave_file is slave_file.path. + * The path name of the terminal device can be gotten by slave_file.path. * * PTY.open {|m, s| * p m #=> #<IO: pty /dev/pts/1> |