module Libnotify::FFI
Raw FFI
bindings.
Public Class Methods
included(_base)
click to toggle source
Load libnotify library and attach functions from C to Ruby via FFI
.
# File lib/libnotify/ffi.rb, line 10 def self.included(_base) load_libs attach_functions! rescue LoadError => e warn e.message end