Methods

Class Index [+]

Quicksearch

Mechanize::Page::Frame

This class encapsulates a ‘frame’ tag. Frame objects can be treated just like Link objects. They contain src, the link they refer to, name, the name of the frame. ‘src’ and ‘name’ are aliased to ‘href’ and ‘text’ respectively so that a Frame object can be treated just like a Link.

Public Class Methods

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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.