app/models/version.rb in cms_scanner-0.0.12 vs app/models/version.rb in cms_scanner-0.0.13
- old
+ new
@@ -4,10 +4,10 @@
include NS::Finders::Finding
attr_reader :number
def initialize(number, opts = {})
- @number = number
+ @number = number.to_s
parse_finding_options(opts)
end
def ==(other)
number == other.number