Sha256: ac90669f5c9c6e2bbab817a637d4d404b231e9319c0532231cfd1ef462e160d7

Contents?: true

Size: 453 Bytes

Versions: 1

Compression:

Stored size: 453 Bytes

Contents

# frozen_string_literal: true

module NameQ
  class TextPool < Support::Pool
    # Set up a new text-based pool.
    # @param name [Array<String>] the list of items to be included in the initial pool
    # @param case_sensitive [Boolean] should uniqueness of names consider case-sensitivity?
    # @return [TextPool]
    def initialize(items, case_sensitive: true)
      super(Support::List.new(items, case_sensitive: case_sensitive))
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nameq-0.0.3 lib/nameq/text_pool.rb