require 'ronin/wordlist'
words = %w[foo bar baz]
wl = Ronin::Wordlist.new(words, 'o' => ['0', '()'])
wl.save('wlmutate')
results in:
<path>/.rvm/gems/ruby-1.9.3-p194/gems/ronin-support-0.5.0.rc1/lib/ronin/fuzzing/extensions/string.rb:339:in `block in mutate': uninitialized constant String::StringScanner (NameError)
from <path>/.rvm/gems/ruby-1.9.3-p194/gems/ronin-support-0.5.0.rc1/lib/ronin/fuzzing/extensions/string.rb:318:in `each'
from <path>/.rvm/gems/ruby-1.9.3-p194/gems/ronin-support-0.5.0.rc1/lib/ronin/fuzzing/extensions/string.rb:318:in `mutate'
from <path>/.rvm/gems/ruby-1.9.3-p194/gems/ronin-support-0.5.0.rc1/lib/ronin/wordlist.rb:232:in `block in each'
from <path>/.rvm/gems/ruby-1.9.3-p194/gems/ronin-support-0.5.0.rc1/lib/ronin/wordlist.rb:206:in `each'
from <path>/.rvm/gems/ruby-1.9.3-p194/gems/ronin-support-0.5.0.rc1/lib/ronin/wordlist.rb:206:in `each_word'
from <path>/.rvm/gems/ruby-1.9.3-p194/gems/ronin-support-0.5.0.rc1/lib/ronin/wordlist.rb:227:in `each'
from <path>/.rvm/gems/ruby-1.9.3-p194/gems/ronin-support-0.5.0.rc1/lib/ronin/wordlist.rb:275:in `block in save'
from <path>/.rvm/gems/ruby-1.9.3-p194/gems/ronin-support-0.5.0.rc1/lib/ronin/wordlist.rb:274:in `open'
from <path>/.rvm/gems/ruby-1.9.3-p194/gems/ronin-support-0.5.0.rc1/lib/ronin/wordlist.rb:274:in `save'
results in: