diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-04-12 08:07:40 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-04-12 08:07:40 +0900 |
commit | b031d42a3aea53cb06e3edd9dd2fd61fca09a11b (patch) | |
tree | 99cbf805b1a4dc0690cb0812fc781556ffb04d4c /activesupport/lib/active_support/inflector.rb | |
parent | 936603f62ab866fdfef810263b716e5e060b7f1f (diff) | |
download | rails-b031d42a3aea53cb06e3edd9dd2fd61fca09a11b.tar.gz rails-b031d42a3aea53cb06e3edd9dd2fd61fca09a11b.tar.bz2 rails-b031d42a3aea53cb06e3edd9dd2fd61fca09a11b.zip |
Auto-correct `Style/RedundantBegin` cop offences
It is newly added at 7b6b10542d5dac2b50f2578143dc5d70120d1146.
```
% be rubocop -a
Inspecting 2781 files
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................C.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Offenses:
activesupport/lib/active_support/dependencies/zeitwerk_integration.rb:12:1: C: [Corrected] Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body beginning.
activesupport/lib/active_support/dependencies/zeitwerk_integration.rb:12:1: C: [Corrected] Layout/TrailingWhitespace: Trailing whitespace detected.
activesupport/lib/active_support/dependencies/zeitwerk_integration.rb:12:13: C: [Corrected] Style/RedundantBegin: Redundant begin block detected.
begin
^^^^^
activesupport/lib/active_support/dependencies/zeitwerk_integration.rb:13:11: C: [Corrected] Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
Rails.autoloaders.main.reload
^^^^
activesupport/lib/active_support/dependencies/zeitwerk_integration.rb:16:1: C: [Corrected] Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body end.
activesupport/lib/active_support/dependencies/zeitwerk_integration.rb:16:1: C: [Corrected] Layout/TrailingWhitespace: Trailing whitespace detected.
2781 files inspected, 6 offenses detected, 6 offenses corrected
```
Diffstat (limited to 'activesupport/lib/active_support/inflector.rb')
0 files changed, 0 insertions, 0 deletions