diff options
author | Matthew Draper <matthew@trebex.net> | 2017-08-14 01:06:26 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-14 01:06:26 +0930 |
commit | dbe1647b84716f6b4ce7e099fb310a55d6c55905 (patch) | |
tree | 45c79c831e87863e8733c93d7e0473fee6fcfff7 /tools | |
parent | 788f46d4863a0f38ecec042864da291f2342ec74 (diff) | |
parent | d17264d93f4278319e60ee20c4e29dc54be343e4 (diff) | |
download | rails-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-x | tools/console | 2 | ||||
-rwxr-xr-x | tools/profile | 2 | ||||
-rw-r--r-- | tools/test.rb | 2 |
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" |