Sha256: dcc7aaccdcb467dac868d9342db91b5f24c386264dc304f3be130cf09e6ddfef
Contents?: true
Size: 312 Bytes
Versions: 2
Compression:
Stored size: 312 Bytes
Contents
# frozen_string_literal: true module Qyu module Utils def self.seconds_after_time(seconds, start_time = Time.now) start_time + seconds end def self.uuid SecureRandom.uuid end def self.stringify_hash_keys(object) object.map { |k, v| [k.to_s, v] }.to_h end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qyu-1.0.1 | lib/qyu/utils.rb |
qyu-1.0.0 | lib/qyu/utils.rb |