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

ruby-changes:19837

From: ryan <ko1@a...>
Date: Wed, 1 Jun 2011 09:48:14 +0900 (JST)
Subject: [ruby-changes:19837] ryan:r31883 (trunk): doco: p outputs newline regardless of record separator

ryan	2011-06-01 09:48:09 +0900 (Wed, 01 Jun 2011)

  New Revision: 31883

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31883

  Log:
    doco: p outputs newline regardless of record separator

  Modified files:
    trunk/io.c

Index: io.c
===================================================================
--- io.c	(revision 31882)
+++ io.c	(revision 31883)
@@ -6238,9 +6238,8 @@
  *     p(obj1, obj2, ...)  -> [obj, ...]
  *     p()                 -> nil
  *
- *  For each object, directly writes
- *  _obj_.+inspect+ followed by the current output
- *  record separator to the program's standard output.
+ *  For each object, directly writes _obj_.+inspect+ followed by a
+ *  newline to the program's standard output.
  *
  *     S = Struct.new(:name, :state)
  *     s = S['dave', 'TX']

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

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