Module: TestBench::Random
- Extended by:
- Random
- Included in:
- Random
- Defined in:
- lib/test_bench/random/random.rb,
lib/test_bench/random/defaults.rb,
lib/test_bench/random/iterator.rb,
lib/test_bench/random/generator.rb,
lib/test_bench/random/controls/seed.rb,
lib/test_bench/random/controls/sequence.rb,
lib/test_bench/random/generator/substitute.rb
Defined Under Namespace
Modules: Controls, Defaults
Classes: Generator, Iterator
Instance Method Summary
collapse
Instance Method Details
#boolean ⇒ Object
13
14
15
|
# File 'lib/test_bench/random/random.rb', line 13
def boolean
Generator.instance.boolean
end
|
#decimal ⇒ Object
21
22
23
|
# File 'lib/test_bench/random/random.rb', line 21
def decimal
Generator.instance.decimal
end
|
#integer ⇒ Object
17
18
19
|
# File 'lib/test_bench/random/random.rb', line 17
def integer
Generator.instance.integer
end
|
#reset ⇒ Object
5
6
7
|
# File 'lib/test_bench/random/random.rb', line 5
def reset
Generator.instance.reset
end
|
#string ⇒ Object
9
10
11
|
# File 'lib/test_bench/random/random.rb', line 9
def string
Generator.instance.string
end
|