Sha256: e27a4ce6cd5221d4d31b80e269f1e6bd12b6089a929460eeaa57ceff1af697c0
Contents?: true
Size: 289 Bytes
Versions: 1
Compression:
Stored size: 289 Bytes
Contents
module Stig module Generators module Integer extend self # Public: Generates a random Integer. # # max - A maximum Integer or Range (default: 100). # # Returns an Integer. def random(max = 100) rand(max) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stig-0.1.0 | lib/stig/generators/integer.rb |