From 741a4cefc4bea51ef7ac047e19d1114510b6837b Mon Sep 17 00:00:00 2001 From: matz Date: Sat, 7 Oct 2006 15:55:17 +0000 Subject: * string.c (rb_str_scan): small documentation fix. [ruby-core:09007] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') diff --git a/string.c b/string.c index 50a83e49f..0da225d3a 100644 --- a/string.c +++ b/string.c @@ -4059,7 +4059,7 @@ scan_once(VALUE str, VALUE pat, long *start) * * a.scan(/\w+/) {|w| print "<<#{w}>> " } * print "\n" - * a.scan(/(.)(.)/) {|a,b| print b, a } + * a.scan(/(.)(.)/) {|x,y| print y, x } * print "\n" * * produces: -- cgit