Sha256: 08359c33f9d5a70aa8a418230e25453c8584e72a470c6dbe056015bf155949e2
Contents?: true
Size: 504 Bytes
Versions: 8
Compression:
Stored size: 504 Bytes
Contents
module Druid module Elements class RadioButton < Element def self.finders super + [:value] 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
8 entries across 8 versions & 1 rubygems