Remove extra lines on Ruby Memoization post