Class: Symbol

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

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



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

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