Sha256: e181b1204b963b43a360bfcfd044d0bdfd8d5164ccab30bcbc7884012b0d4f5d

Contents?: true

Size: 170 Bytes

Versions: 3

Compression:

Stored size: 170 Bytes

Contents

# frozen_string_literal: true

require 'object/cache'

# :no-doc:
module Kernel
  def cache(key = nil, **options, &block)
    Cache.new(key, **options, &block)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
object-cache-0.1.2 lib/object/cache/core_extension.rb
object-cache-0.1.1 lib/object/cache/core_extension.rb
object-cache-0.1.0 lib/object/cache/core_extension.rb