Merge pull request #3509 from MikeMcQuaid/version-null-to-i

version/null: add to_i method.
This commit is contained in:
Mike McQuaid 2017-11-30 13:50:11 +00:00 committed by GitHub
commit de338055db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,10 @@ class Version
Float::NAN
end
def to_i
0
end
def to_s
""
end