Module: Plat4m::Sniffer::Darwin

Defined in:
lib/plat4m/sniff/darwin.rb

Defined Under Namespace

Classes: MacPkgManager

Class Method Summary collapse

Class Method Details

.detect_systemObject



16
17
18
19
20
# File 'lib/plat4m/sniff/darwin.rb', line 16

def detect_system
  # determine system platform
  System.new(System::Platform.new(arch: get_arch, cpus: get_cpu_count),
             System::OS.new(id: :darwin, **get_distro))
end