Skip to content

Instantly share code, notes, and snippets.

@dirk
Created May 1, 2011 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dirk/950661 to your computer and use it in GitHub Desktop.
Save dirk/950661 to your computer and use it in GitHub Desktop.
class SpitefulStore
# A very mean cache store that loses everything you give it.
def read(key)
nil
end
def write(key, value)
value
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment