summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-01 00:48:09 +0000
committerryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-01 00:48:09 +0000
commit38de163f1e24faf50cd4a09aa91ce271792d6bae (patch)
tree5058839c79aaa42c674ef77e050fdf5bed63eb40 /io.c
parentb8f3f2d62e62fa8ebfd4e59656173813ec96672a (diff)
doco: p outputs newline regardless of record separator
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/io.c b/io.c
index 832e047d9a..0025f86073 100644
--- a/io.c
+++ b/io.c
@@ -6238,9 +6238,8 @@ rb_p(VALUE obj) /* for debug print within C code */
* 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']