The new version fails with the following exception Offenses: prog/postgres/postgres_resource_nexus.rb:18:1: C: [Correctable] Layout/EmptyLinesAroundMethodBody: Extra empty line detected at method body beginning. prog/vm/nexus.rb:18:1: C: [Correctable] Layout/EmptyLinesAroundMethodBody: Extra empty line detected at method body beginning. prog/vnet/load_balancer_nexus.rb:14:1: C: [Correctable] Layout/EmptyLinesAroundMethodBody: Extra empty line detected at method body beginning. If your method definition is multiple lines, having a blank line at the top seems good for readability. I disabled this cop.
1.3 KiB
1.3 KiB