Method: ComputeUnit::Device.pci_database
- Defined in:
- lib/compute_unit/device.rb
.pci_database ⇒ Array
Syntax: vendor vendor_name
device device_name <-- single tab
subvendor subdevice subsystem_name <-- two tabs
309 310 311 312 313 |
# File 'lib/compute_unit/device.rb', line 309 def self.pci_database @pci_database ||= begin IO.foreach(ComputeUnit::PCI_DATABASE_PATH).lazy end end |