5 6 7 8 9 10
# File 'lib/genny/integer.rb', line 5 def self.genny(opts = {}) opts = Genny.symbolize(opts) min = opts[:minimum] || 10 max = opts[:maximum] || 1000 Random.rand(max - min + 1) + min end