Erik Veenstra
12/18/2004 4:06:00 PM
I wanted to sort an array of dependencies of a gem. But there
was no "<=>". So I created one:
module Gem
class Dependency
def <=>(other)
[@name] <=> [other.name]
end
end
end
To be included in RubyGems?
gegroet,
Erik V.