Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/kramdown/compatibility.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



43
44
45
# File 'lib/kramdown/compatibility.rb', line 43

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