зеркало из https://github.com/github/ruby.git
* 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:
Родитель
b8acb1cc2d
Коммит
9f714e35ec
|
@ -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
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Загрузка…
Ссылка в новой задаче