mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
b8acb1cc2d
commit
9f714e35ec
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Mon Feb 1 21:26:41 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
|
* lib/matrix.rb (Vector#each2): returns a self. [ruby-dev:40241]
|
||||||
|
|
||||||
Mon Feb 1 17:08:42 2010 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Mon Feb 1 17:08:42 2010 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* numeric.c (flo_minus): RDoc update. a patch from red stun
|
* numeric.c (flo_minus): RDoc update. a patch from red stun
|
||||||
|
|
|
@ -1149,6 +1149,7 @@ class Vector
|
||||||
size.times do |i|
|
size.times do |i|
|
||||||
yield @elements[i], v[i]
|
yield @elements[i], v[i]
|
||||||
end
|
end
|
||||||
|
self
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue