Sha256: d19ccfebeccb2b311a6b411c8e168ecff488bc06a992ed48b2373bc9f5dbb48a

Contents?: true

Size: 257 Bytes

Versions: 1

Compression:

Stored size: 257 Bytes

Contents

module Druid
  module Elements
    class SelectList < Element

      def self.finders
        super + [:value, :text]
      end

      def [](idx)
        element.options[idx]
      end

      def options
        element.options
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
druid-ts-0.0.1 lib/druid/elements/select_list.rb