File: multi_select_list.rb [mechanize-2.7.2 Documentation]

Last Modified
  2014-03-27 02:38:46 +0000
Requires

## Description

This class represents a select list where multiple values can be selected. MultiSelectList#value= accepts an array, and those values are used as values for the select list. For example, to select multiple values, simply do this:

    list.value = ['one', 'two']

Single values are still supported, so these two are the same:

    list.value = ['one']
    list.value = 'one'