Class: IEgrip::Frames
- Inherits:
-
GripWrapper
- Object
- GripWrapper
- IEgrip::Frames
- Includes:
- Retry
- Defined in:
- lib/iegrip.rb
Overview
IE.Document.Frames
Constant Summary
Constants included from Retry
Instance Method Summary collapse
Methods included from Retry
Methods inherited from GripWrapper
#initialize, #inspect, #ole_methodNames, #raw
Constructor Details
This class inherits a constructor from IEgrip::GripWrapper
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IEgrip::GripWrapper
Instance Method Details
#[](index) ⇒ Object
724 725 726 727 728 729 |
# File 'lib/iegrip.rb', line 724 def [](index) result = retryCheck { index < @raw_object.length } return(nil) unless result Frame.new(@raw_object.item(index), @ie_obj) end |
#each ⇒ Object
735 736 737 738 739 740 741 742 |
# File 'lib/iegrip.rb', line 735 def each index = 0 while index < @raw_object.length raw_frame = @raw_object.item(index) yield Frame.new(raw_frame, @ie_obj) index += 1 end end |
#size ⇒ Object
731 732 733 |
# File 'lib/iegrip.rb', line 731 def size @raw_object.length end |