Sha256: 300f20f0a64fcf924d4c668b975be63d699da9355576a0463aa232e70c2849de

Contents?: true

Size: 243 Bytes

Versions: 1

Compression:

Stored size: 243 Bytes

Contents

require_relative '../transparent_proxy'

module Asynchronic
  module DataStore
    class LazyStore < TransparentProxy

      def [](key)
        LazyValue.new __getobj__, key
      end

      def lazy?
        true
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asynchronic-0.2.0 lib/asynchronic/data_store/lazy_store.rb