In a Ruby app, I have an array that may contain instances of the Ruby Date
class and instances of my MissingDate
class.
Now, I need to get the min
(or have sort
working) from the array. So, I'm looking for the method I need to define in the MissingDate
class in order to make min
work but that proofs to be more difficult than anticipated.
Any ideas?