Class: GirFFI::UnintrospectableBoxedInfo
- Inherits:
-
Object
- Object
- GirFFI::UnintrospectableBoxedInfo
- Defined in:
- lib/gir_ffi/unintrospectable_boxed_info.rb
Overview
Represents a boxed type not found in the GIR, conforming, as needed, to the interface of GObjectIntrospection::IUnionInfo and GObjectIntrospection::IStructInfo.
Constant Summary collapse
- DEFAULT_BOXED_NAMESPACE =
'GLib'.freeze
Instance Attribute Summary collapse
-
#g_type ⇒ Object
readonly
Returns the value of attribute g_type.
Instance Method Summary collapse
- #fields ⇒ Object
- #info_type ⇒ Object
-
#initialize(gtype) ⇒ UnintrospectableBoxedInfo
constructor
A new instance of UnintrospectableBoxedInfo.
- #namespace ⇒ Object
- #safe_name ⇒ Object
Constructor Details
#initialize(gtype) ⇒ UnintrospectableBoxedInfo
Returns a new instance of UnintrospectableBoxedInfo.
10 11 12 |
# File 'lib/gir_ffi/unintrospectable_boxed_info.rb', line 10 def initialize(gtype) @g_type = gtype end |
Instance Attribute Details
#g_type ⇒ Object (readonly)
Returns the value of attribute g_type.
8 9 10 |
# File 'lib/gir_ffi/unintrospectable_boxed_info.rb', line 8 def g_type @g_type end |
Instance Method Details
#fields ⇒ Object
28 29 30 |
# File 'lib/gir_ffi/unintrospectable_boxed_info.rb', line 28 def fields [] end |
#info_type ⇒ Object
14 15 16 |
# File 'lib/gir_ffi/unintrospectable_boxed_info.rb', line 14 def info_type :unintrospectable_boxed end |
#namespace ⇒ Object
24 25 26 |
# File 'lib/gir_ffi/unintrospectable_boxed_info.rb', line 24 def namespace DEFAULT_BOXED_NAMESPACE end |
#safe_name ⇒ Object
18 19 20 |
# File 'lib/gir_ffi/unintrospectable_boxed_info.rb', line 18 def safe_name GObject.type_name g_type end |