diff options
| -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 f5fdb0966..0f3cbb773 100644 --- a/Library/Homebrew/version.rb +++ b/Library/Homebrew/version.rb @@ -260,6 +260,10 @@ class Version      version.hash    end +  def to_f +    version.to_f +  end +    def to_s      version.dup    end  | 
