Sha256: 80a2116228ec756896b2739596564ff9035c5b4d7e11a8c239fcbde3f36882fd

Contents?: true

Size: 363 Bytes

Versions: 3

Compression:

Stored size: 363 Bytes

Contents

module Uia
  module Patterns
    module Selection
      def selection_items
        descendants.map {|e| e.as :selection_item }
      end

      def multi_select?
        Library.selection_info(@element).multi_select?
      end

      def selection_required?
        Library.selection_info(@element).selection_required?
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
uia-0.0.7 lib/uia/patterns/selection.rb
uia-0.0.6.1 lib/uia/patterns/selection.rb
uia-0.0.6 lib/uia/patterns/selection.rb