Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/middleman-core/sitemap/queryable.rb

Overview

Add operators to symbol objects

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



151
152
153
# File 'lib/middleman-core/sitemap/queryable.rb', line 151

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