| Module | RushCheck::RandomGen |
| In: |
rushcheck/random.rb
|
gen_range should be overrided as an instance method. It is assumed that split returns an array with length 2. Here, call ‘Foo’ the class which includes RandomGen. Then the components of the result are integers where the first components should be the lowest bound of the first components of gen_next. Another should be the highest bound of the first components of gen_next.