Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/tickle.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#same?(y) ⇒ Boolean
compares two arrays to determine if they both contain the same elements.
Instance Method Details
#same?(y) ⇒ Boolean
compares two arrays to determine if they both contain the same elements
144 145 146 |
# File 'lib/tickle.rb', line 144 def same?(y) self.sort == y.sort end |