Sha256: 892831d62d06e08df0199cfedd6e4ed7c1ae460e815d143f790ba1fabf597ab8

Contents?: true

Size: 262 Bytes

Versions: 1

Compression:

Stored size: 262 Bytes

Contents

require 'mayu/stores/base'
require 'json'

module Mayu
  module Stores
    class Memory < Base
      def initialize(**options)
        @obj = nil
      end

      def put(obj)
        @obj = obj
      end

      def get
        @obj
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mayu-0.1.0.beta1 lib/mayu/stores/memory.rb