Class: GObject::ParamSpec

Inherits:
Object
  • Object
show all
Defined in:
lib/ffi-gobject/param_spec.rb

Overview

Overrides for GParamSpec, GObject’s base class for parameter specifications.

Instance Method Summary collapse

Instance Method Details

#accessor_nameObject



12
13
14
# File 'lib/ffi-gobject/param_spec.rb', line 12

def accessor_name
  get_name.tr('-', '_')
end

#refObject



7
8
9
10
# File 'lib/ffi-gobject/param_spec.rb', line 7

def ref
  Lib.g_param_spec_ref self
  self
end