Ruby: Remove 2 snippets that save a negative number of keypresses