diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-02-07 21:01:43 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-02-07 21:24:44 +0900 |
commit | 478716f49a19cdd86f629c6a0673c1ff53630c96 (patch) | |
tree | e096772b353f9ce5c20b057d0421ec39ea40c378 | |
parent | 947d93b715436b13eefa39f87737bdad3c1f870a (diff) | |
download | ruby-478716f49a19cdd86f629c6a0673c1ff53630c96.tar.gz |
[DOC] refined
* Adjusted indentation in license section, and used "(c)"
* Commented out invalid syntax to enable highlighting
* Removed unnecessary parentheses
-rw-r--r-- | ext/pty/pty.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c index d927adc560..0e46c72dc0 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -464,7 +464,7 @@ pty_close_pty(VALUE assoc) /* * call-seq: * PTY.open => [master_io, slave_file] - * PTY.open {|(master_io, slave_file)| ... } => block value + * PTY.open {|master_io, slave_file| ... } => block value * * Allocates a pty (pseudo-terminal). * @@ -497,7 +497,7 @@ pty_close_pty(VALUE assoc) * require 'io/console' * PTY.open {|m, s| * s.raw! - * ... + * # ... * } * */ @@ -737,16 +737,16 @@ static VALUE cPTY; * * == License * - * C) Copyright 1998 by Akinori Ito. + * (c) Copyright 1998 by Akinori Ito. * - * This software may be redistributed freely for this purpose, in full - * or in part, provided that this entire copyright notice is included - * on any copies of this software and applications and derivations thereof. + * This software may be redistributed freely for this purpose, in full + * or in part, provided that this entire copyright notice is included + * on any copies of this software and applications and derivations thereof. * - * This software is provided on an "as is" basis, without warranty of any - * kind, either expressed or implied, as to any matter including, but not - * limited to warranty of fitness of purpose, or merchantability, or - * results obtained from use of this software. + * This software is provided on an "as is" basis, without warranty of any + * kind, either expressed or implied, as to any matter including, but not + * limited to warranty of fitness of purpose, or merchantability, or + * results obtained from use of this software. */ void |