openlogic / random-word

MIT License
27 stars 15 forks source link

Add rng accessor so a specific seed/rng can be used #11

Closed muffinista closed 2 years ago

muffinista commented 6 years ago

Hello! This PR adds a couple of methods to allow a user to specify a Random object as the random number generator, which makes the gem usable if you need some sort of deterministic randomness (which I do!)

muffinista commented 6 years ago

I ended up not using this gem, and probably won't have time to work on these changes, so you can probably close this PR. Thanks!