Class: WatirNokogiri::FrameCollection
- Inherits:
-
ElementCollection
- Object
- ElementCollection
- WatirNokogiri::FrameCollection
- Defined in:
- lib/watir-nokogiri/elements/frame.rb,
lib/watir-nokogiri/elements/generated.rb
Instance Method Summary collapse
Methods inherited from ElementCollection
#[], #each, #first, #initialize, #last, #length
Constructor Details
This class inherits a constructor from WatirNokogiri::ElementCollection
Instance Method Details
#element_class ⇒ Object
110 111 112 |
# File 'lib/watir-nokogiri/elements/generated.rb', line 110 def element_class Frame end |
#to_a ⇒ Object
70 71 72 |
# File 'lib/watir-nokogiri/elements/frame.rb', line 70 def to_a (0...elements.size).map { |idx| element_class.new @parent, :index => idx } end |