class Chop::Form::Select

Public Instance Methods

fill_in!() click to toggle source
# File lib/chop/form.rb, line 100
def fill_in!
  session.select value, from: label
end
matches?() click to toggle source
# File lib/chop/form.rb, line 96
def matches?
  field.tag_name == "select" && !field[:multiple]
end