Module: GirFFI::InfoExt::IPropertyInfo

Defined in:
lib/gir_ffi/info_ext/i_property_info.rb

Overview

Extensions for GObjectIntrospection::IPropertyInfo needed by GirFFI

Instance Method Summary collapse

Instance Method Details

#getter_nameObject



6
7
8
# File 'lib/gir_ffi/info_ext/i_property_info.rb', line 6

def getter_name
  name.tr('-', '_')
end

#setter_nameObject



10
11
12
# File 'lib/gir_ffi/info_ext/i_property_info.rb', line 10

def setter_name
  "#{getter_name}="
end