Method: LIBUSB::Setting#interface

Defined in:
lib/libusb/setting.rb

#interfaceInterface (readonly)

Returns the interface this setting belongs to.

Returns:

  • (Interface)

    the interface this setting belongs to.



94
95
96
# File 'lib/libusb/setting.rb', line 94

def interface
  @interface
end