aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorYoshiyuki Hirano <yhirano@me.com>2019-02-17 17:11:53 +0900
committerYoshiyuki Hirano <yhirano@me.com>2019-02-17 17:12:22 +0900
commited3f3159072a36709e5de5d9693baf3387258ab5 (patch)
treeae2f11e4322372ca510cfae9d861782668ab978a /railties/lib/rails
parentfdc05952bd667e37dc0c1326c645a3dd65d450db (diff)
downloadrails-ed3f3159072a36709e5de5d9693baf3387258ab5.tar.gz
rails-ed3f3159072a36709e5de5d9693baf3387258ab5.tar.bz2
rails-ed3f3159072a36709e5de5d9693baf3387258ab5.zip
Auto correct rubocop offenses
Offenses: railties/lib/rails/autoloaders.rb:1:1: C: [Corrected] Style/FrozenStringLiteralComment: Missing magic comment # frozen_string_literal: true. module Rails ^ actionmailer/test/base_test.rb:917:1: C: [Corrected] Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body beginning. actionmailer/test/base_test.rb:917:1: C: [Corrected] Layout/TrailingWhitespace: Trailing whitespace detected. actionmailer/test/base_test.rb:917:5: C: [Corrected] Style/RedundantBegin: Redundant begin block detected. begin ^^^^^ actionmailer/test/base_test.rb:918:3: C: [Corrected] Layout/IndentationWidth: Use 2 (not 4) spaces for indentation. events = [] ^^^^ actionmailer/test/base_test.rb:930:1: C: [Corrected] Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body end. actionmailer/test/base_test.rb:930:1: C: [Corrected] Layout/TrailingWhitespace: Trailing whitespace detected.
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/autoloaders.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/autoloaders.rb b/railties/lib/rails/autoloaders.rb
index 4b71f90c6b..b03499cf81 100644
--- a/railties/lib/rails/autoloaders.rb
+++ b/railties/lib/rails/autoloaders.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Rails
module Autoloaders # :nodoc:
class << self