Skip to content

Instantly share code, notes, and snippets.

@cyx
Created May 1, 2009 09:03
Show Gist options
  • Save cyx/104946 to your computer and use it in GitHub Desktop.
Save cyx/104946 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