Class: IEgrip::Frames
- Inherits:
-
GripWrapper
- Object
- GripWrapper
- IEgrip::Frames
- Defined in:
- lib/iegrip.rb
Overview
IE.Document.Frames
Instance Method Summary collapse
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
673 674 675 676 |
# File 'lib/iegrip.rb', line 673 def [](index) return(nil) if index >= @raw_object.length Frame.new(@raw_object.item(index), @ie_obj) end |
#each ⇒ Object
682 683 684 685 686 687 688 689 |
# File 'lib/iegrip.rb', line 682 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
678 679 680 |
# File 'lib/iegrip.rb', line 678 def size @raw_object.length end |