From 969057c95a4d8c26cf58dd99dff3dbface11f1cd Mon Sep 17 00:00:00 2001 From: marcandre Date: Thu, 27 Nov 2014 01:03:46 +0000 Subject: * lib.matrix.rb: Fix typo. Patch by Dimitrios Zorbas. [GH-772] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/matrix.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/matrix.rb') diff --git a/lib/matrix.rb b/lib/matrix.rb index 569680f600..fb98d09323 100644 --- a/lib/matrix.rb +++ b/lib/matrix.rb @@ -445,7 +445,7 @@ class Matrix # # Yields all elements of the matrix, starting with those of the first row, - # or returns an Enumerator is no block given. + # or returns an Enumerator if no block given. # Elements can be restricted by passing an argument: # * :all (default): yields all elements # * :diagonal: yields only elements on the diagonal @@ -1889,14 +1889,14 @@ class Vector end # - # Return a copy of the vector. + # Returns a copy of the vector. # def clone self.class.elements(@elements) end # - # Return a hash-code for the vector. + # Returns a hash-code for the vector. # def hash @elements.hash -- cgit v1.2.3