Methods

Mechanize::Page::Frame

A Frame object wrapse a frame HTML element. Frame objects can be treated just like Link objects. They contain #, the # they refer to and a #, the name of the frame they refer to. # and # are aliased to # and # respectively so that a Frame object can be treated just like a Link.

Attributes

text[R]

Public Class Methods

new(node, mech, referer) click to toggle source
    # File lib/mechanize/page/frame.rb, line 14
14:   def initialize(node, mech, referer)
15:     super(node, mech, referer)
16:     @node = node
17:     @text = node['name']
18:     @href = node['src']
19:     @content = nil
20:   end

Public Instance Methods

content() click to toggle source
    # File lib/mechanize/page/frame.rb, line 22
22:   def content
23:     @content ||= @mech.get @href, [], page
24:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.