class

Mechanize::FormContent::MultiSelectList

Inherits Reference / Object

This class represents <select multiple>

Constructors

new(node : Lexbor::Node)
Source

Instance methods

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
Source
node
Source
options
Source
options=(options : Array(FormContent::Option))
Source
query_value
Source
select_all

set all options checked

Source
select_none

set all options unchecked

Source
selected_options

returns all checked options

Source
type
Source
values

return all option's values.

Source
values=(values : Array(String))
Source
values=(new_values)

add new values to options

Source