Method: LIBUSB::Device#interfaces
- Defined in:
- lib/libusb/device.rb
#interfaces ⇒ Array<Interface>
Return all interfaces of this device.
393 |
# File 'lib/libusb/device.rb', line 393 def interfaces() self.configurations.map {|d| d.interfaces }.flatten end |