Class: Symbol

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

Overview

add sort-ability to symbol so we can order keys array in hash for test-ability

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



6
7
8
# File 'lib/ceedling/configurator_setup.rb', line 6

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