Class: Uia::Library::ToggleInformation

Inherits:
FFI::ManagedStruct
  • Object
show all
Defined in:
lib/uia/library/pattern_structs.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.release(pointer) ⇒ Object



25
26
27
# File 'lib/uia/library/pattern_structs.rb', line 25

def self.release(pointer)
  Library.release_toggle_info(pointer)
end

Instance Method Details

#stateObject



21
22
23
# File 'lib/uia/library/pattern_structs.rb', line 21

def state
  self[:state]
end