| Class | Choose::MockRandomGenerator |
| In: |
lib/choose.rb
|
| Parent: | RandomGenerators::RandomGenerator |
| ref | [R] |
# File lib/choose.rb, line 92 def initialize ( tab_i, tab_f ) raise unless tab_i.is_a? Array raise unless tab_f.is_a? Array @ref, @ref_f, @pos = tab_i, tab_f, -1 end