Class: GLib::Type
- Inherits:
-
Object
- Object
- GLib::Type
- Defined in:
- lib/glib2.rb,
ext/glib2/rbgobj_type.c
Constant Summary collapse
- FUNDAMENTAL_MAX =
INT2FIX(G_TYPE_FUNDAMENTAL_MAX)
- FUNDAMENTAL_TYPES =
better name
FIXME
Instance Method Summary collapse
Instance Method Details
#ancestors ⇒ Object
116 117 118 119 |
# File 'lib/glib2.rb', line 116 def ancestors # ([self] + interfaces + (parent ? parent.ancestors : [])).reverse.uniq.reverse [self] + (parent ? parent.ancestors : []) end |
#decendants ⇒ Object
112 113 114 |
# File 'lib/glib2.rb', line 112 def decendants [self] + children.map{|t| t.decendants }.flatten end |