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
147 148 149 150 |
# File 'lib/glib2.rb', line 147 def ancestors # ([self] + interfaces + (parent ? parent.ancestors : [])).reverse.uniq.reverse [self] + (parent ? parent.ancestors : []) end |
#decendants ⇒ Object
143 144 145 |
# File 'lib/glib2.rb', line 143 def decendants [self] + children.map{|t| t.decendants }.flatten end |