Method: LIBUSB::Device#product
- Defined in:
- lib/libusb/device.rb
#product ⇒ Object
Return product name of the device.
361 362 363 364 365 366 |
# File 'lib/libusb/device.rb', line 361 def product return @product if defined? @product @product = try_string_descriptor_ascii(self.iProduct) @product = @product.strip if @product @product end |