module Rhinestone class InMemoryCacheBackend attr_reader :data def initialize @data = {} end def set(key, value) data[key] = value end def get(key) data[key] end end end