Module: GirFFI::InfoExt::IPropertyInfo

Included in:
GObjectIntrospection::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



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

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

#setter_nameObject



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

def setter_name
  "#{getter_name}="
end