Method: VORuby::HomogeneousNodeList#each

Defined in:
lib/voruby.rb

#eachObject

Iterate through each member of the list.

node_list.each do |obj|
  puts obj
end


57
58
59
60
61
# File 'lib/voruby.rb', line 57

def each
  @node.find(*self.xpath).each do |e|
    yield klass.new(e)
  end
end