Open noraj opened 1 year ago
Maybe this fix should not be only for Enumerator::ArithmeticSequence but to more generic enumerators. However, I'm not sure of the consequences of a broader change.
We could also support Enumerable
. It appears that Ronin::Fuzzing::Repeater#initialize
accepts an Enumerable
lengths
value.
Also, this definitely needs a test.
This example is on the documentation but currently doesn't work
https://github.com/noraj/ronin-fuzzer/blob/e398afb5020eb37c6b94db1b1e1b5ff2a8921a07/lib/ronin/fuzzing/core_ext/string.rb#L81-L84