[前][次][番号順一覧][スレッド一覧]

ruby-changes:65179

From: Nobuyoshi <ko1@a...>
Date: Sun, 7 Feb 2021 21:28:44 +0900 (JST)
Subject: [ruby-changes:65179] 478716f49a (master): [DOC] refined

https://git.ruby-lang.org/ruby.git/commit/?id=478716f49a

From 478716f49a19cdd86f629c6a0673c1ff53630c96 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 7 Feb 2021 21:01:43 +0900
Subject: [DOC] refined

* Adjusted indentation in license section, and used "(c)"
* Commented out invalid syntax to enable highlighting
* Removed unnecessary parentheses
---
 ext/pty/pty.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/ext/pty/pty.c b/ext/pty/pty.c
index d927adc..0e46c72 100644
--- a/ext/pty/pty.c
+++ b/ext/pty/pty.c
@@ -464,7 +464,7 @@ pty_close_pty(VALUE assoc) https://github.com/ruby/ruby/blob/trunk/ext/pty/pty.c#L464
 /*
  * 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) https://github.com/ruby/ruby/blob/trunk/ext/pty/pty.c#L497
  *   require 'io/console'
  *   PTY.open {|m, s|
  *     s.raw!
- *     ...
+ *     # ...
  *   }
  *
  */
@@ -737,16 +737,16 @@ static VALUE cPTY; https://github.com/ruby/ruby/blob/trunk/ext/pty/pty.c#L737
  *
  * == 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
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]