Method: LIBUSB::Device#context

Defined in:
lib/libusb/device.rb

#contextContext (readonly)

Returns the context this device belongs to.

Returns:

  • (Context)

    the context this device belongs to.


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

def context
  @context
end