From 0e7c83e37414f47c47b8efe9f3df1ed640bbd6ca Mon Sep 17 00:00:00 2001 From: kazu Date: Mon, 20 Nov 2017 12:57:08 +0000 Subject: [PATCH] [DOC] Fix example result [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/matrix.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?