Class: Watir::InputElementCollections

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

Direct Known Subclasses

CheckBoxes, SelectLists

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



3
4
5
# File 'lib/watir/collections.rb', line 3

def each
  @container.input_element_locator(@how, @what, element_class::INPUT_TYPES, element_class).each {|element| yield element}
end