Module: Plat4m::Sniffer::Windows

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

Defined Under Namespace

Classes: Pacman

Class Method Summary collapse

Class Method Details

.detect_systemObject



16
17
18
19
20
# File 'lib/plat4m/sniff/windows.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: :windows, **get_distro))
end