aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-08-13 21:55:53 +0900
committerKoichi ITO <koic.ito@gmail.com>2017-08-13 22:04:59 +0900
commit7d85e0f95cbc75fe0a6f10d1b9c575e415868857 (patch)
treed6b2ad4d1fe892b77726886d50065f67d4c60062 /tools
parentef2016f8885ccd30c37ca97e76786503325f4e81 (diff)
downloadrails-7d85e0f95cbc75fe0a6f10d1b9c575e415868857.tar.gz
rails-7d85e0f95cbc75fe0a6f10d1b9c575e415868857.tar.bz2
rails-7d85e0f95cbc75fe0a6f10d1b9c575e415868857.zip
Use frozen string literal in tools/
Diffstat (limited to 'tools')
-rwxr-xr-xtools/console2
-rwxr-xr-xtools/profile2
-rw-r--r--tools/test.rb2
3 files changed, 6 insertions, 0 deletions
diff --git a/tools/console b/tools/console
index 58c76fb1b6..ee08e22502 100755
--- a/tools/console
+++ b/tools/console
@@ -1,4 +1,6 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
+
require "bundler"
Bundler.setup
diff --git a/tools/profile b/tools/profile
index 01e513c67a..6fb571f43b 100755
--- a/tools/profile
+++ b/tools/profile
@@ -1,4 +1,6 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
+
# Profile require calls giving information about the time and the files that are called
# when loading the provided file.
#
diff --git a/tools/test.rb b/tools/test.rb
index 774e4ec6c7..1fd3ee30eb 100644
--- a/tools/test.rb
+++ b/tools/test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
$: << File.expand_path("test", COMPONENT_ROOT)
require "bundler"