Sha256: 1e3360d895ca366d65954654740f42055f0634677fc1da99112cda321314cb2d
Contents?: true
Size: 633 Bytes
Versions: 16
Compression:
Stored size: 633 Bytes
Contents
module Kernel # A helper method that calls Mack::Utils::Crypt::Keeper with the specified worker # and calls the encrypt method on that worker. def _encrypt(value, worker = :default) Mack::Utils::Crypt::Keeper.instance.worker(worker).encrypt(value) end # A helper method that calls Mack::Utils::Crypt::Keeper with the specified worker # and calls the decrypt method on that worker. def _decrypt(value, worker = :default) Mack::Utils::Crypt::Keeper.instance.worker(worker).decrypt(value) end # Returns Mack::Utils::GemManager def require_gems yield Mack::Utils::GemManager.instance end end
Version data entries
16 entries across 16 versions & 1 rubygems