Method: LIBUSB::Device#interfaces

Defined in:
lib/libusb/device.rb

#interfacesArray<Interface>

Return all interfaces of this device.

Returns:



393
# File 'lib/libusb/device.rb', line 393

def interfaces() self.configurations.map {|d| d.interfaces }.flatten end