Parent

Methods

Class Index [+]

Quicksearch

Mechanize::Page::Label

Attributes

node[R]
text[R]
page[R]

Public Class Methods

new(node, page) click to toggle source
    # File lib/mechanize/page/label.rb, line 9
 9:       def initialize(node, page)
10:         @node = node
11:         @text = node.inner_text
12:         @page = page
13:       end

Public Instance Methods

for() click to toggle source
    # File lib/mechanize/page/label.rb, line 15
15:       def for
16:         (id = @node['for']) && page.search("##{id}") || nil
17:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.