summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-14 07:15:55 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-14 07:15:55 +0000
commita4213047d7b5d1e5a9fc42e0066fa567f229b357 (patch)
treebf9489caeecbfa8d0f92f19f7e7c8b7161290374 /lib
parentaf627848c9dc5866906dbc8fcaddfb55b331647f (diff)
downloadruby-a4213047d7b5d1e5a9fc42e0066fa567f229b357.tar.gz
ruby-a4213047d7b5d1e5a9fc42e0066fa567f229b357.tar.xz
ruby-a4213047d7b5d1e5a9fc42e0066fa567f229b357.zip
* lib/matrix.rb (Vector#eql?): typo of the method name as "eqn?".
(Vector#eqn?): removed. Defined by mistake. Fixes [ruby-dev:36294]. Reported by weda <weda AT issp.u-tokyo.ac.jp> and an anonymous user. * test/matrix/test_matrix.rb: added. * test/matrix/test_vector.rb: added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/matrix.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/matrix.rb b/lib/matrix.rb
index d31fcc546..ca8cae36e 100644
--- a/lib/matrix.rb
+++ b/lib/matrix.rb
@@ -1200,7 +1200,7 @@ class Vector
other.compare_by(@elements)
end
- alias eqn? ==
+ alias eql? ==
#
# For internal use.