mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8d1e0c0a5a
commit
1d9f6c92b7
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue