Provide Hardware::CPU.feature?
This commit is contained in:
parent
6e92716642
commit
1dc4412f69
@ -42,6 +42,10 @@ class Hardware
|
||||
def features
|
||||
[]
|
||||
end
|
||||
|
||||
def feature?(name)
|
||||
features.include?(name)
|
||||
end
|
||||
end
|
||||
|
||||
if OS.mac?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user