lib/druid/elements/option.rb in druid-ts-1.2.0 vs lib/druid/elements/option.rb in druid-ts-1.2.1

- old
+ new

@@ -1,8 +1,14 @@ module Druid module Elements class Option < Element + # + # returns true if the option is selected + # + def selected? + element.selected? + end end Druid::Elements.tag_to_class[:option] = Druid::Elements::Option end end