class Mystiko::Generator
A specialized variant of the composite pseudo RNG.
Public Class Methods
new(key)
click to toggle source
Create the default pseudo random data generator.
Endemic Code Smells
-
:reek:FeatureEnvy
Calls superclass method
# File lib/mystiko/generator.rb, line 15 def initialize(key) parent = FibonacciRng.new(key) child = Random.new(parent.hash_value) super(parent, child, 31, 31) end