Class: GObjectIntrospection::StructInfo
- Inherits:
-
Object
- Object
- GObjectIntrospection::StructInfo
- Extended by:
- CollectionReader
- Defined in:
- lib/gobject-introspection/struct-info.rb
Instance Method Summary collapse
Methods included from CollectionReader
Instance Method Details
#match?(value) ⇒ Boolean
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/gobject-introspection/struct-info.rb', line 28 def match?(value) case gtype.name when "void" # TODO false when "CairoSurface" if Object.const_defined?(:Cairo) value.is_a?(Cairo::Surface) else false end else super end end |