Class: MimiCheck::Generator::Array
- Inherits:
-
Object
- Object
- MimiCheck::Generator::Array
- Includes:
- MimiCheck::Generator
- Defined in:
- lib/mimicheck/generator/array.rb
Instance Method Summary collapse
- #generate ⇒ Object
-
#initialize(generator = default_gen, size_range = 0..20) ⇒ Array
constructor
A new instance of Array.
Methods included from MimiCheck::Generator
Constructor Details
#initialize(generator = default_gen, size_range = 0..20) ⇒ Array
Returns a new instance of Array.
6 7 8 9 |
# File 'lib/mimicheck/generator/array.rb', line 6 def initialize(generator = default_gen, size_range = 0..20) @generator = generator @size_range = size_range end |