Method: LinuxStat::PCI.hwdata_file
- Defined in:
- lib/linux_stat/pci.rb
.hwdata_file ⇒ Object
Returns the hwdata_file as string.
If hwdata_file isn’t set, it will return an empty frozen string.
Once it’s set, it can’t be changed.
264 265 266 267 |
# File 'lib/linux_stat/pci.rb', line 264 def hwdata_file @@hwdata_file ||= nil @@hwdata_file ? @@hwdata_file : ''.freeze end |