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



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

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

#refObject



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

def ref
  Lib.g_param_spec_ref self
  self
end