Sha256: 755aaf95c83c3b1796374a255e951134ad819bfca60e2754ed6bd6d92de51021

Contents?: true

Size: 265 Bytes

Versions: 2

Compression:

Stored size: 265 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
druid-ts-1.2.2 lib/druid/elements/option.rb
druid-ts-1.2.1 lib/druid/elements/option.rb