Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/hot_or_not/ext/hash.rb
Instance Method Summary collapse
Instance Method Details
#<=>(other) ⇒ Object
2 3 4 |
# File 'lib/hot_or_not/ext/hash.rb', line 2 def <=> other self.sort.to_s <=> other.sort.to_s end |