Sha256: e827df9a4e82883f7902225bbabe63a5f8880058a955cadb24b4c08b95a63143
Contents?: true
Size: 683 Bytes
Versions: 1
Compression:
Stored size: 683 Bytes
Contents
require 'domkey/view/option_selectable_group' module Domkey module View # RadioGroup allows you to interact with PageObjectCollection of radios as a single PageObject # Acts like OptionSelectable # Radios collection is constrained by the same name attribute # Behaves like a single Select list. # It has one radio selected at all times class RadioGroup < OptionSelectableGroup private def set_by_symbol value case value when FalseClass, TrueClass return #noop else fail(Exception::NotImplementedError, "Unknown way of setting by value: #{value.inspect}") end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
domkey-0.4.0 | lib/domkey/view/radio_group.rb |