Skip to content

Instantly share code, notes, and snippets.

@macournoyer
Created November 12, 2008 02:06
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 macournoyer/24055 to your computer and use it in GitHub Desktop.
Save macournoyer/24055 to your computer and use it in GitHub Desktop.
# Memcache-like Invisible app
STORE = {}
with ":key" do
put { STORE[params[:key]] = params[:value] }
get { render STORE[params[:key]] }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment