That modification is actually totally unnecessary. I don't know what I was thinking. Removed from stable and trunk.
Ingo wrote: > Hi, > > just wanted to report a bug: The following code in lib/haml/buffer.rb: > > > class NilClass # :nodoc: > include Comparable > > def <=>(other) > other.nil? ? 0 : 1 > end > end > > causes (nil > 0) to evaluate to true which causes some problems in our > application > > Ingo > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
