Class: LIBUSB::Context::CompletionFlag
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- LIBUSB::Context::CompletionFlag
- Defined in:
- lib/libusb/context.rb
Instance Method Summary collapse
Instance Method Details
#completed=(flag) ⇒ Object
68 69 70 |
# File 'lib/libusb/context.rb', line 68 def completed=(flag) self[:completed] = flag ? 1 : 0 end |
#completed? ⇒ Boolean
64 65 66 |
# File 'lib/libusb/context.rb', line 64 def completed? self[:completed] != 0 end |