diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-20 12:57:08 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-20 12:57:08 +0000 |
commit | 0e7c83e37414f47c47b8efe9f3df1ed640bbd6ca (patch) | |
tree | d0a1f9afb11dd285c17532b272959772dbc351b0 /lib | |
parent | 4b279cfdd2e3e4a05e852632f3305c893f6c46a4 (diff) | |
download | ruby-0e7c83e37414f47c47b8efe9f3df1ed640bbd6ca.tar.gz |
[DOC] Fix example result [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/matrix.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/matrix.rb b/lib/matrix.rb index d242665ef9..ca4424f4b1 100644 --- a/lib/matrix.rb +++ b/lib/matrix.rb @@ -254,7 +254,7 @@ class Matrix # # x = Matrix[[6, 6], [4, 4]] # y = Matrix[[1, 2], [3, 4]] - # Matrix.combine(x, y) {|a, b| a - b} # => Matrix[[5, 4], [1, 2]] + # Matrix.combine(x, y) {|a, b| a - b} # => Matrix[[5, 4], [1, 0]] # def Matrix.combine(*matrices) return to_enum(__method__, *matrices) unless block_given? |