Method: LinuxStat::USB.hwdata_file
- Defined in:
- lib/linux_stat/usb.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.
179 180 181 182 |
# File 'lib/linux_stat/usb.rb', line 179 def hwdata_file @@hwdata_file ||= nil @@hwdata_file ? @@hwdata_file : ''.freeze end |