Add MacOS.pretty_name

This commit is contained in:
Jack Nagel 2013-06-06 16:02:27 -05:00
parent 79a769215f
commit 2e5d050931

View File

@ -19,6 +19,10 @@ module MacOS extend self
end
end
def pretty_name
cat.to_s.split('_').map(&:capitalize).join(' ')
end
def locate tool
# Don't call tools (cc, make, strip, etc.) directly!
# Give the name of the binary you look for as a string to this method