class NameQ::TextPool

Public Class Methods

new(items, case_sensitive: true) click to toggle source

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]

Calls superclass method NameQ::Support::Pool::new
# File lib/nameq/text_pool.rb, line 9
def initialize(items, case_sensitive: true)
  super(Support::List.new(items, case_sensitive: case_sensitive))
end