Method: Wordlist::Modifiers::Tr#initialize
- Defined in:
- lib/wordlist/modifiers/tr.rb
#initialize(wordlist, chars, replace) ⇒ Tr
Initializes the String#tr modifier.
32 33 34 35 36 37 |
# File 'lib/wordlist/modifiers/tr.rb', line 32 def initialize(wordlist,chars,replace) super(wordlist) @chars = chars @replace = replace end |