Class: GirFFI::UserDefinedPropertyInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/gir_ffi/user_defined_property_info.rb

Overview

Represents a property of a user defined type, conforming, as needed, to the interface of GObjectIntrospection::IPropertyInfo.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(param_spec) ⇒ UserDefinedPropertyInfo

Returns a new instance of UserDefinedPropertyInfo.



5
6
7
# File 'lib/gir_ffi/user_defined_property_info.rb', line 5

def initialize param_spec
  @param_spec = param_spec
end

Instance Attribute Details

#param_specObject (readonly)

Returns the value of attribute param_spec.



9
10
11
# File 'lib/gir_ffi/user_defined_property_info.rb', line 9

def param_spec
  @param_spec
end

Instance Method Details

#nameObject



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

def name
  @param_spec.get_name
end