summaryrefslogtreecommitdiff
path: root/lib/matrix.rb
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-01 12:27:46 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-01 12:27:46 +0000
commit9f714e35ec70fe7eec4b2810af7a66c936a64df1 (patch)
tree6d4b3bc61acf5e186e8ae8f934cacee5e55c34d6 /lib/matrix.rb
parentb8acb1cc2d9ece124108bfd583855c20aa52d0a5 (diff)
downloadbundler-9f714e35ec70fe7eec4b2810af7a66c936a64df1.tar.gz
* lib/matrix.rb (Vector#each2): returns a self. [ruby-dev:40241]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/matrix.rb')
-rw-r--r--lib/matrix.rb1
1 files changed, 1 insertions, 0 deletions
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
#