From b8b6c4894acd51b9f21a2a792ef0a710d2c5dc35 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 20 Jun 2008 19:41:29 +0000 Subject: * enumerator.c (enum_each_cons): typo in RDoc fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 2 ++ enumerator.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a2c09d0c08..0c87dfba5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ Sat Jun 21 04:36:59 2008 Yukihiro Matsumoto * ext/bigdecimal/lib/bigdecimal/jacobian.rb (Jacobian::dfdxi): typo fixed (raize -> raise). [ruby-list:45101] + * enumerator.c (enum_each_cons): typo in RDoc fixed. + Sat Jun 21 00:45:34 2008 URABE Shyouhei * tool/make-snapshot: do not use sha256sum; use BASERUBY instead diff --git a/enumerator.c b/enumerator.c index c39a48ef79..c5d9f40f4c 100644 --- a/enumerator.c +++ b/enumerator.c @@ -169,7 +169,7 @@ each_cons_i(VALUE val, VALUE *memo) * each_cons(n) * * Iterates the given block for each array of consecutive - * elements. If no block is given, returns an enumerator.a + * elements. If no block is given, returns an enumerator. * * e.g.: * (1..10).each_cons(3) {|a| p a} -- cgit v1.2.3