ruby-changes:11885
From: akr <ko1@a...>
Date: Fri, 22 May 2009 21:34:35 +0900 (JST)
Subject: [ruby-changes:11885] Ruby:r23544 (trunk): update rdoc.
akr 2009-05-22 21:32:30 +0900 (Fri, 22 May 2009) New Revision: 23544 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23544 Log: update rdoc. Modified files: trunk/ext/pty/pty.c Index: ext/pty/pty.c =================================================================== --- ext/pty/pty.c (revision 23543) +++ ext/pty/pty.c (revision 23544) @@ -437,8 +437,8 @@ /* * 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 @@ * 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> -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/