Sha256: ad33b8705ab7efe12b94a05120f4d4ef359ca7afab904538655d9f4756c0998c
Contents?: true
Size: 417 Bytes
Versions: 3
Compression:
Stored size: 417 Bytes
Contents
module Druid module Elements class RadioButton < Element def self.finders super + [:value, :label] end # # Select the RadioButton # def select element.set end # # Return if it is selected # def selected? element.set? end end Druid::Elements.type_to_class[:radio] = Druid::Elements::RadioButton end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-1.2.2 | lib/druid/elements/radio_button.rb |
druid-ts-1.2.1 | lib/druid/elements/radio_button.rb |
druid-ts-1.2.0 | lib/druid/elements/radio_button.rb |