Created
May 1, 2011 17:25
-
-
Save dirk/950661 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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