Method: HidApi.open_path
- Defined in:
- lib/hid_api.rb
.open_path(path) ⇒ Object
55 56 57 58 59 |
# File 'lib/hid_api.rb', line 55 def open_path path device = hid_open_path(path) raise HidError, "Unable to open #{path.inspect}" if device.null? device end |