Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/zabbixapi/basic/basic_func.rb
Instance Method Summary collapse
Instance Method Details
#<=>(other_hash) ⇒ Object
2 3 4 |
# File 'lib/zabbixapi/basic/basic_func.rb', line 2 def <=> (other_hash) self.keys.collect!{|key| key.to_s} <=> other_hash.keys.collect!{|key| key.to_s} end |