Sha256: e67a89d618380d9d33534d5b38db03064836b04f1742a6d80eeece6b20dc782f
Contents?: true
Size: 363 Bytes
Versions: 13
Compression:
Stored size: 363 Bytes
Contents
module Cistern class Mock def self.not_implemented(method = '') fail NotImplementedError, method ? "The call '#{method}' is not implemented" : '' end def self.random_hex(length) rand(('f' * length).to_i(16)).to_s(16).rjust(length, '0') end def self.random_numbers(length) rand(('9' * length).to_i).to_s end end end
Version data entries
13 entries across 13 versions & 1 rubygems