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



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

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