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



146
147
148
# File 'lib/middleman-core/sitemap/queryable.rb', line 146

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