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.
# File lib/mechanize/page/frame.rb, line 12 def initialize(node, mech, referer) super(node, mech, referer) @node = node @text = node['name'] @href = node['src'] end