Method: ConsistentRandom::Testing#rand_for
- Defined in:
- lib/consistent_random/testing.rb
#rand_for(name) ⇒ Float?
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Get the test value for rand.
121 122 123 |
# File 'lib/consistent_random/testing.rb', line 121 def rand_for(name) @rand_hash[name] end |