aboutsummaryrefslogtreecommitdiffstats
path: root/tools
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 /tools
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 '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"