lib/rubyonacid/factories/random.rb in rubyonacid-0.2.0 vs lib/rubyonacid/factories/random.rb in rubyonacid-0.3.0
- old
+ new
@@ -1,8 +1,9 @@
require 'rubyonacid/factory'
module RubyOnAcid
+#Returns random numbers between the minimum and the maximum.
class RandomFactory < Factory
#Returns a random value between 0 and 1.
def get_unit(key)
rand