aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-05-19 20:51:25 -0500
committerJack Nagel2013-05-19 20:51:25 -0500
commitbf935a1fa5dcd7b74497dbe929649d99e9eb0e36 (patch)
tree26baa4886e5ff67b06ba7739c39f6366ce1192ef /Library
parentcd35fc3bbd4a51264da5cd6fcb97b1bc6bdadcd1 (diff)
downloadbrew-bf935a1fa5dcd7b74497dbe929649d99e9eb0e36.tar.bz2
Version: dup @version in #to_s
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/version.rb b/Library/Homebrew/version.rb
index 9669c2af3..f7d194bac 100644
--- a/Library/Homebrew/version.rb
+++ b/Library/Homebrew/version.rb
@@ -90,7 +90,7 @@ class Version
end
def to_s
- @version
+ @version.dup
end
alias_method :to_str, :to_s