diff --git a/ChangeLog b/ChangeLog index 82e2ee64a5..c29a27ca72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Feb 1 21:26:41 2010 Yusuke Endoh + + * lib/matrix.rb (Vector#each2): returns a self. [ruby-dev:40241] + Mon Feb 1 17:08:42 2010 Yukihiro Matsumoto * numeric.c (flo_minus): RDoc update. a patch from red stun diff --git a/lib/matrix.rb b/lib/matrix.rb index e6f5fe107c..d452bf459e 100644 --- a/lib/matrix.rb +++ b/lib/matrix.rb @@ -1149,6 +1149,7 @@ class Vector size.times do |i| yield @elements[i], v[i] end + self end #