# File lib/loquacious/configuration/iterator.rb, line 49 def each( attribute = nil ) reset rv = nil if attribute and !attribute.empty? node = while (n = next_node) do break n if n.name == attribute end return if node.nil? rv = yield node return rv unless node.config? stack.clear stack << new_frame(node.obj, node.name) if node.config? end while (node = next_node) do rv = yield node end return rv end