Sha256: d884e373bfe1f813bb2fe53c5b20c02c514bb6e7ec4e887e14bf3ce408bffdf1
Contents?: true
Size: 512 Bytes
Versions: 1
Compression:
Stored size: 512 Bytes
Contents
module Druid module Elements class RadioButton < Element def self.finders super + [:value, :label] end # # Select the RadioButton # def select element.set end # # Clear the RadioButton # def clear element.clear 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-1.1.8 | lib/druid/elements/radio_button.rb |