Class: NameQ::TextPool
- Inherits:
-
Support::Pool
- Object
- Support::Pool
- NameQ::TextPool
- Defined in:
- lib/nameq/text_pool.rb
Instance Attribute Summary
Attributes inherited from Support::Pool
Instance Method Summary collapse
-
#initialize(items, case_sensitive: true) ⇒ TextPool
constructor
Set up a new text-based pool.
Methods inherited from Support::Pool
Constructor Details
#initialize(items, case_sensitive: true) ⇒ TextPool
Set up a new text-based pool.
8 9 10 |
# File 'lib/nameq/text_pool.rb', line 8 def initialize(items, case_sensitive: true) super(Support::List.new(items, case_sensitive: case_sensitive)) end |