aboutsummaryrefslogtreecommitdiffstats
path: root/guides/rails_guides/indexer.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-08-14 01:06:26 +0930
committerGitHub <noreply@github.com>2017-08-14 01:06:26 +0930
commitdbe1647b84716f6b4ce7e099fb310a55d6c55905 (patch)
tree45c79c831e87863e8733c93d7e0473fee6fcfff7 /guides/rails_guides/indexer.rb
parent788f46d4863a0f38ecec042864da291f2342ec74 (diff)
parentd17264d93f4278319e60ee20c4e29dc54be343e4 (diff)
downloadrails-dbe1647b84716f6b4ce7e099fb310a55d6c55905.tar.gz
rails-dbe1647b84716f6b4ce7e099fb310a55d6c55905.tar.bz2
rails-dbe1647b84716f6b4ce7e099fb310a55d6c55905.zip
Merge pull request #30230 from koic/use_frozen_string_literal
Use frozen string literal
Diffstat (limited to 'guides/rails_guides/indexer.rb')
-rw-r--r--guides/rails_guides/indexer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/rails_guides/indexer.rb b/guides/rails_guides/indexer.rb
index c58b6b85a2..c707464cdf 100644
--- a/guides/rails_guides/indexer.rb
+++ b/guides/rails_guides/indexer.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "active_support/core_ext/object/blank"
require "active_support/core_ext/string/inflections"