Sha256: f814a8155f6f73544f516d57c832ce63f0097a8e0dd01950f54d215b9a34279b
Contents?: true
Size: 278 Bytes
Versions: 7
Compression:
Stored size: 278 Bytes
Contents
# frozen_string_literal: true module Modis module Transaction def self.included(base) base.extend ClassMethods end module ClassMethods def transaction Modis.with_connection { |redis| redis.multi { yield(redis) } } end end end end
Version data entries
7 entries across 7 versions & 1 rubygems