Class: Symbol

Inherits:
Object show all
Includes:
Comparable
Defined in:
lib/sprinkle/extensions/symbol.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



8
9
10
# File 'lib/sprinkle/extensions/symbol.rb', line 8

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

#to_task_nameObject



4
5
6
# File 'lib/sprinkle/extensions/symbol.rb', line 4

def to_task_name
  to_s.to_task_name
end