Class: Symbol

Inherits:
Object show all
Includes:
Comparable
Defined in:
lib/symbol.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



4
5
6
# File 'lib/symbol.rb', line 4

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