Method: LIBUSB::Device#bus_number
- Defined in:
- lib/libusb/device.rb
#bus_number ⇒ Object
Get the number of the bus that a device is connected to.
87 88 89 |
# File 'lib/libusb/device.rb', line 87 def bus_number Call.libusb_get_bus_number(@pDev) end |