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
commit34f6f509e71e56d5c8ee28acdd4a794f7f866110 (patch)
tree7db46f5356dff8c22b389aead960629419d0dfb3 /Library
parent6386160e8cdde64967e04009973c17a5a64f8f88 (diff)
downloadhomebrew-34f6f509e71e56d5c8ee28acdd4a794f7f866110.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