LinuxCPUs: Fix method alias
Closes Homebrew/homebrew#18683. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
parent
2476801613
commit
5c17405982
@ -16,7 +16,7 @@ module LinuxCPUs
|
||||
def family
|
||||
:dunno
|
||||
end
|
||||
alias_method :intel_family, :cpu_family
|
||||
alias_method :intel_family, :family
|
||||
|
||||
def cores
|
||||
`grep -c ^processor /proc/cpuinfo`.to_i
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user