diff options
Diffstat (limited to 'Library/Homebrew/version.rb')
| -rw-r--r-- | Library/Homebrew/version.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/version.rb b/Library/Homebrew/version.rb index d43e0c665..c2635f18c 100644 --- a/Library/Homebrew/version.rb +++ b/Library/Homebrew/version.rb @@ -431,6 +431,10 @@ class Version version.to_f end + def to_i + version.to_i + end + def to_s version.dup end |
