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
135 136 137 138 |
# File 'lib/glib2.rb', line 135 def ancestors # ([self] + interfaces + (parent ? parent.ancestors : [])).reverse.uniq.reverse [self] + (parent ? parent.ancestors : []) end |
#decendants ⇒ Object
131 132 133 |
# File 'lib/glib2.rb', line 131 def decendants [self] + children.map{|t| t.decendants }.flatten end |