Sha256: fb548865c88fa61ed321eac2c96c71f7cf8484150df497b1c39ded176c50b975
Contents?: true
Size: 426 Bytes
Versions: 17
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true ## # 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". class Mechanize::Form::ImageButton < Mechanize::Form::Button attr_accessor :x, :y def initialize *args @x = nil @y = nil super end def query_value [["#{@name}.x", (@x || 0).to_s], ["#{@name}.y", (@y || 0).to_s]] end end
Version data entries
17 entries across 17 versions & 1 rubygems