aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/macos.rb
diff options
context:
space:
mode:
authorJack Nagel2013-06-15 19:40:42 -0500
committerJack Nagel2013-06-15 19:40:42 -0500
commit49c9097b07c121d2d577f68e7148bc0dca10ea62 (patch)
treece6c5f445e0ef4a8d477afb09606403c3447a6e7 /Library/Homebrew/macos.rb
parent3cd1a0e6966e82a955c6a672c8b233ad26161d09 (diff)
downloadbrew-49c9097b07c121d2d577f68e7148bc0dca10ea62.tar.bz2
Push MacOS.cat logic down into MacOS::Version
Diffstat (limited to 'Library/Homebrew/macos.rb')
-rw-r--r--Library/Homebrew/macos.rb12
1 files changed, 1 insertions, 11 deletions
diff --git a/Library/Homebrew/macos.rb b/Library/Homebrew/macos.rb
index 54cf43487..147676b3c 100644
--- a/Library/Homebrew/macos.rb
+++ b/Library/Homebrew/macos.rb
@@ -10,17 +10,7 @@ module MacOS extend self
end
def cat
- case MacOS.version
- when "10.8" then :mountain_lion
- when "10.7" then :lion
- when "10.6" then :snow_leopard
- when "10.5" then :leopard
- when "10.4" then :tiger
- end
- end
-
- def pretty_name
- MacOS.version.pretty_name
+ version.to_sym
end
def locate tool