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



144
145
146
# File 'lib/middleman-core/sitemap/queryable.rb', line 144

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