class

Mechanize::FormContent::Field

Inherits Reference / Object

This class represents <input> elements in the form.

Constructors

new(node : Mechanize::Node | Lexbor::Node, value = nil)
Source

Instance methods

dom_class

returns field's 'class' value

Source
dom_id

returns field's 'id' value

Source
inspect

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

This method should usually not be overridden. It delegates to #inspect(IO) which can be overridden for custom implementations.

Also see #to_s.

Source
name

returns field's 'name' attribute

Source
node
Source
query_value
Source
raw_value

returns field's 'value' attribute. value property is changeable, but this property stores raw value.

Source
type

returns field's 'type' attribute

Source
value

returns field's 'value' attribute

Source
value=(value : String | Nil)

returns field's 'value' attribute

Source