Sha256: 5dee8ff0fc740b3c211e0510613b5069f5f9c5abecf14cb0c26087fb65767e3c

Contents?: true

Size: 147 Bytes

Versions: 4

Compression:

Stored size: 147 Bytes

Contents

class Symbol #:nodoc:
  include Comparable

  def to_task_name
    to_s.to_task_name
  end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lachlan-sprinkle-0.0.13 lib/sprinkle/extensions/symbol.rb
lachlan-sprinkle-0.0.14 lib/sprinkle/extensions/symbol.rb
lachlan-sprinkle-0.0.15 lib/sprinkle/extensions/symbol.rb
lachlan-sprinkle-0.0.16 lib/sprinkle/extensions/symbol.rb