Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/ruote-kit/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object

 Compares self against other using the corresponding #to_s versions of self and other.

Returns the Integer result of the comparison.



11
12
13
# File 'lib/ruote-kit/core_ext.rb', line 11

def <=>(other)
  to_s <=> other.to_s
end