Skip to content

Instantly share code, notes, and snippets.

@earnold
Forked from cyx/black_hole_store.rb
Created October 10, 2011 21:23
Show Gist options
  • Save earnold/1276585 to your computer and use it in GitHub Desktop.
Save earnold/1276585 to your computer and use it in GitHub Desktop.
class BlackHoleStore
def logger
Rails.logger
end
def fetch( *args )
yield
end
def read( *args )
end
def write( *args )
end
def delete( *args )
end
def increment( *args )
end
def decrement( *args )
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment