Sha256: 554b77b05f572871ebd7ba6e013135188806dbff8d198a78c6dcf7aff3d68b47
Contents?: true
Size: 362 Bytes
Versions: 37
Compression:
Stored size: 362 Bytes
Contents
module Cistern class Mock def self.not_implemented(method="") raise 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
37 entries across 37 versions & 1 rubygems