Class: Watir::HTMLElements

Inherits:
ElementCollections show all
Defined in:
lib/watir/collections.rb

Instance Method Summary collapse

Methods inherited from ElementCollections

#[], #first, #initialize, #inspect, #last, #length, #to_s

Constructor Details

This class inherits a constructor from Watir::ElementCollections

Instance Method Details

#eachObject



21
22
23
# File 'lib/watir/collections.rb', line 21

def each
  @container.locator_for(ElementLocator, @how, @what).each { |element| yield element }
end