aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/os/mac
diff options
context:
space:
mode:
authorMike McQuaid2017-11-10 17:49:27 +0000
committerGitHub2017-11-10 17:49:27 +0000
commitee4172159bc09f23dbcccc2fca471b12d8bc7ecd (patch)
tree9629fbe12ddc056e925a737077035f15d8836ccf /Library/Homebrew/extend/os/mac
parent5318907d936d90b8d39473be288e5387e1032874 (diff)
parentde0b93f912f014155423ed9a679dcd99c40f2622 (diff)
downloadbrew-ee4172159bc09f23dbcccc2fca471b12d8bc7ecd.tar.bz2
Merge pull request #3377 from maxim-belkin/extend-pathname
pathname: new methods and improvements
Diffstat (limited to 'Library/Homebrew/extend/os/mac')
-rw-r--r--Library/Homebrew/extend/os/mac/extend/pathname.rb5
-rw-r--r--Library/Homebrew/extend/os/mac/hardware/cpu.rb2
2 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/os/mac/extend/pathname.rb b/Library/Homebrew/extend/os/mac/extend/pathname.rb
new file mode 100644
index 000000000..5fd59e1e7
--- /dev/null
+++ b/Library/Homebrew/extend/os/mac/extend/pathname.rb
@@ -0,0 +1,5 @@
+require "os/mac/mach"
+
+class Pathname
+ include MachOShim
+end
diff --git a/Library/Homebrew/extend/os/mac/hardware/cpu.rb b/Library/Homebrew/extend/os/mac/hardware/cpu.rb
index b97c280cd..a216db6ae 100644
--- a/Library/Homebrew/extend/os/mac/hardware/cpu.rb
+++ b/Library/Homebrew/extend/os/mac/hardware/cpu.rb
@@ -1,5 +1,3 @@
-require "os/mac/pathname"
-
module Hardware
class CPU
class << self