summaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-09 06:50:29 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-09 06:50:29 +0000
commit5bf41d41ff9a9880edf6f20b7d21d9d344aa06f2 (patch)
tree8fbb0e52bfe98118981cfe84bb6c0dff8c1cf33a /string.c
parentdcb036b0a17665cbc09dcdcf03f61a2c856c3cf9 (diff)
downloadruby-5bf41d41ff9a9880edf6f20b7d21d9d344aa06f2.tar.gz
ruby-5bf41d41ff9a9880edf6f20b7d21d9d344aa06f2.tar.xz
ruby-5bf41d41ff9a9880edf6f20b7d21d9d344aa06f2.zip
* string.c (rb_str_each_line): rdoc fix
* ext/bigdecimal/bigdecimal.c (#infinite?, #nonzero?): rdoc fix git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/string.c b/string.c
index ae1e3154e..1cd5e7fbe 100644
--- a/string.c
+++ b/string.c
@@ -5635,11 +5635,11 @@ rb_str_split(VALUE str, const char *sep0)
* into paragraphs delimited by multiple successive newlines.
*
* print "Example one\n"
- * "hello\nworld".each {|s| p s}
+ * "hello\nworld".each_line {|s| p s}
* print "Example two\n"
- * "hello\nworld".each('l') {|s| p s}
+ * "hello\nworld".each_line('l') {|s| p s}
* print "Example three\n"
- * "hello\n\n\nworld".each('') {|s| p s}
+ * "hello\n\n\nworld".each_line('') {|s| p s}
*
* <em>produces:</em>
*