Method: LIBUSB::DevHandle#device

Defined in:
lib/libusb/dev_handle.rb

#deviceDevice (readonly)

Returns the device this handle belongs to.

Returns:

  • (Device)

    the device this handle belongs to.



27
28
29
# File 'lib/libusb/dev_handle.rb', line 27

def device
  @device
end