Along with Cleaning up extra empty lines there should be a utility function to remove any extra lines inside of Ruby blocks.
Should be pretty straight forward, scan for do which signifies the opening of a block, check for extra new lines until you hit end which signifies the closing of a block.
Along with Cleaning up extra empty lines there should be a utility function to remove any extra lines inside of Ruby blocks.
Should be pretty straight forward, scan for do which signifies the opening of a block, check for extra new lines until you hit end which signifies the closing of a block.