Skip to content

Instantly share code, notes, and snippets.

@emerleite
Forked from cyx/black_hole_store.rb
Created March 3, 2010 20:50
Show Gist options
  • Save emerleite/320998 to your computer and use it in GitHub Desktop.
Save emerleite/320998 to your computer and use it in GitHub Desktop.
class BlackHoleStore
def clear; end
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