Sha256: f5884174a567288369a8d6753ffcad01e3394d261587d60de227545560d9e108
Contents?: true
Size: 452 Bytes
Versions: 1
Compression:
Stored size: 452 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.1 | lib/nameq/text_pool.rb |