Sha256: e0ebe284b5981f2b8837b528046d17d27307a49c3416d94fd4295c1acd049718

Contents?: true

Size: 427 Bytes

Versions: 5

Compression:

Stored size: 427 Bytes

Contents

module Spec
  module Helpers
    module Framework
      module Rails
        class Cache
          
          attr_reader :storage
          
          def initialize
            @storage = {}
          end
          
          def read( key )
            @storage[key]
          end
          
          def write( key, value )
            @storage[key] = value
          end
          
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
methodmissing-scrooge-1.0.0 spec/helpers/framework/rails/cache.rb
methodmissing-scrooge-1.0.1 spec/helpers/framework/rails/cache.rb
methodmissing-scrooge-1.0.2 spec/helpers/framework/rails/cache.rb
methodmissing-scrooge-1.0.3 spec/helpers/framework/rails/cache.rb
methodmissing-scrooge-1.0.4 spec/helpers/framework/rails/cache.rb