Class: Case::Array
- Inherits:
-
Array
- Object
- Array
- Case::Array
- Defined in:
- lib/case.rb
Instance Method Summary collapse
Instance Method Details
#===(other) ⇒ Object
49 50 51 52 53 |
# File 'lib/case.rb', line 49 def ===(other) return false unless ::Array === other and size == other.size zip(other) { |a, b| return false unless a === b } true end |