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 11 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 15 def message @struct[:message] end