# File lib/mspec/utils/version.rb, line 44 44: def <=>(other) 45: if other.respond_to? :to_int 46: other = Integer other 47: else 48: other = SpecVersion.new(String(other)).to_i 49: end 50: 51: self.to_i <=> other 52: end