# File lib/backports/1.9.2/stdlib/matrix.rb, line 768 def ==(other) return false unless Matrix === other && column_size == other.column_size # necessary for empty matrices rows == other.rows end