diff options
Diffstat (limited to 'Library/Homebrew/version/null.rb')
| -rw-r--r-- | Library/Homebrew/version/null.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/version/null.rb b/Library/Homebrew/version/null.rb index 65e3d56c0..9549ba328 100644 --- a/Library/Homebrew/version/null.rb +++ b/Library/Homebrew/version/null.rb @@ -30,6 +30,10 @@ class Version Float::NAN end + def to_i + 0 + end + def to_s "" end |
