lib/solve/version.rb in solve-0.6.0 vs lib/solve/version.rb in solve-0.6.1
- old
+ new
@@ -125,10 +125,10 @@
def eql?(other)
other.is_a?(Version) && self == other
end
def inspect
- to_s
+ "#<#{self.class.to_s} #{to_s}>"
end
def to_s
str = "#{major}.#{minor}.#{patch}"
str += "-#{pre_release}" if pre_release