class Cucumber::Salad::Widgets::FieldGroup::CheckBox
A check box.
Public Instance Methods
get()
click to toggle source
@return [Boolean] true
if the checkbox is checked, false
otherwise.
# File lib/cucumber/salad/widgets/field_group.rb, line 280 def get !! root.checked? end
to_s()
click to toggle source
@return +“yes”+ if the checkbox is checked, +“no”+ otherwise.
# File lib/cucumber/salad/widgets/field_group.rb, line 285 def to_s get ? 'yes' : 'no' end