Class: Wordlist::AbstractWordlist
- Inherits:
-
Object
- Object
- Wordlist::AbstractWordlist
- Includes:
- Enumerable, ListMethods
- Defined in:
- lib/wordlist/abstract_wordlist.rb
Overview
The base class for all wordlist classes.
Instance Method Summary collapse
-
#each(&block) ⇒ Object
abstract
Place holder method.
Methods included from ListMethods
#capitalize, #concat, #downcase, #gsub, #intersect, #mutate, #mutate_case, #power, #product, #sub, #subtract, #tr, #union, #uniq, #upcase
Instance Method Details
#each(&block) ⇒ Object
This method is abstract.
Place holder method.
20 21 22 |
# File 'lib/wordlist/abstract_wordlist.rb', line 20 def each(&block) raise(NotImplementedError,"#{self.class}#each was not implemented") end |