From 1d9f6c92b7695639df5ad56234e22635665495b1 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 22 May 2009 12:32:30 +0000 Subject: update rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/pty/pty.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext') diff --git a/ext/pty/pty.c b/ext/pty/pty.c index c44953ca13..5db349872c 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 #=> # -- cgit v1.2.3