class Clutter::ActorIter

Public Class Methods

new(root) click to toggle source
Calls superclass method
# File lib/clutter/actor-iter.rb, line 20
def initialize(root)
  super()
  init(root)
end

Public Instance Methods

each() { |child| ... } click to toggle source
# File lib/clutter/actor-iter.rb, line 25
def each
  loop do
    have_next, child = self.next
    break unless have_next
    yield(child)
  end
end