Class Index [+]

Quicksearch

Mechanize::Form::ImageButton

This class represents an image button in a form. Use the x and y methods to set the x and y positions for where the mouse “clicked”.

Attributes

x[RW]
y[RW]

Public Class Methods

new(*args) click to toggle source
    # File lib/mechanize/form/image_button.rb, line 8
 8:       def initialize *args
 9:         @x = nil
10:         @y = nil
11:         super
12:       end

Public Instance Methods

query_value() click to toggle source
    # File lib/mechanize/form/image_button.rb, line 14
14:       def query_value
15:         super <<
16:           [@name + ".x", (@x || 0).to_s] <<
17:           [@name + ".y", (@y || 0).to_s]
18:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.