aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSebastian Staudt2013-03-23 20:15:51 +0100
committerMisty De Meo2013-03-23 14:23:03 -0500
commit5c17405982b3b600f6788a13b8ee2dbe5b054bd0 (patch)
tree3c53c8e4a9f5711c47db273e6164608b3a403a6b /Library
parent2476801613a293d7810c5faf2e3383a653b1389c (diff)
downloadbrew-5c17405982b3b600f6788a13b8ee2dbe5b054bd0.tar.bz2
LinuxCPUs: Fix method alias
Closes Homebrew/homebrew#18683. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/linux/hardware.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/linux/hardware.rb b/Library/Homebrew/os/linux/hardware.rb
index 9dc454956..433092c45 100644
--- a/Library/Homebrew/os/linux/hardware.rb
+++ b/Library/Homebrew/os/linux/hardware.rb
@@ -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