Add MacOS.pretty_name
This commit is contained in:
parent
79a769215f
commit
2e5d050931
@ -19,6 +19,10 @@ module MacOS extend self
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def pretty_name
|
||||||
|
cat.to_s.split('_').map(&:capitalize).join(' ')
|
||||||
|
end
|
||||||
|
|
||||||
def locate tool
|
def locate tool
|
||||||
# Don't call tools (cc, make, strip, etc.) directly!
|
# Don't call tools (cc, make, strip, etc.) directly!
|
||||||
# Give the name of the binary you look for as a string to this method
|
# Give the name of the binary you look for as a string to this method
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user