class GObjectIntrospection::GError
Wraps GLib’s GError
struct.
Public Class Methods
new(ptr)
click to toggle source
# File lib/ffi-gobject_introspection/g_error.rb, line 13 def initialize(ptr) @struct = self.class::Struct.new(ptr) end
Public Instance Methods
message()
click to toggle source
# File lib/ffi-gobject_introspection/g_error.rb, line 17 def message @struct[:message] end