brew/Library/Homebrew/extend/os/hardware.rb

10 lines
193 B
Ruby
Raw Permalink Normal View History

2020-10-10 14:16:11 +02:00
# typed: strict
# frozen_string_literal: true
2016-04-25 18:00:01 +01:00
if OS.mac?
require "extend/os/mac/hardware"
2016-04-25 18:00:01 +01:00
require "extend/os/mac/hardware/cpu"
elsif OS.linux?
require "extend/os/linux/hardware/cpu"
end