diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb index 85588663f8..68cc01b232 100644 --- a/ext/pathname/lib/pathname.rb +++ b/ext/pathname/lib/pathname.rb @@ -1,3 +1,4 @@ +# # -*- frozen_string_literal: true -*- # # = pathname.rb diff --git a/lib/pp.rb b/lib/pp.rb index ef787bb764..6db423da23 100644 --- a/lib/pp.rb +++ b/lib/pp.rb @@ -1,3 +1,4 @@ +# # -*- frozen_string_literal: true -*- require 'prettyprint' diff --git a/lib/prettyprint.rb b/lib/prettyprint.rb index dc63e49321..454c69233d 100644 --- a/lib/prettyprint.rb +++ b/lib/prettyprint.rb @@ -1,3 +1,4 @@ +# # -*- frozen_string_literal: true -*- # # This class implements a pretty printing algorithm. It finds line breaks and diff --git a/lib/resolv.rb b/lib/resolv.rb index fbfd822799..a5eb9fe55f 100644 --- a/lib/resolv.rb +++ b/lib/resolv.rb @@ -1,3 +1,4 @@ +# # -*- frozen_string_literal: true -*- require 'socket' diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb index eafde411a0..adbe404146 100644 --- a/lib/tmpdir.rb +++ b/lib/tmpdir.rb @@ -1,3 +1,4 @@ +# # -*- frozen_string_literal: true -*- # # tmpdir - retrieve temporary directory path diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb index 339ef7f487..94bcc90bf0 100644 --- a/test/pathname/test_pathname.rb +++ b/test/pathname/test_pathname.rb @@ -1,3 +1,4 @@ +# # -*- frozen_string_literal: true -*- require 'test/unit' diff --git a/test/test_pp.rb b/test/test_pp.rb index 69594c0aef..70390c7559 100644 --- a/test/test_pp.rb +++ b/test/test_pp.rb @@ -1,3 +1,4 @@ +# # -*- frozen_string_literal: true -*- require 'pp' diff --git a/test/test_prettyprint.rb b/test/test_prettyprint.rb index 0d087b4a78..30b00095d9 100644 --- a/test/test_prettyprint.rb +++ b/test/test_prettyprint.rb @@ -1,3 +1,4 @@ +# # -*- frozen_string_literal: true -*- require 'prettyprint' diff --git a/tool/transcode-tblgen.rb b/tool/transcode-tblgen.rb index 569f8026d6..3ff60112d8 100644 --- a/tool/transcode-tblgen.rb +++ b/tool/transcode-tblgen.rb @@ -1,3 +1,4 @@ +# # -*- frozen_string_literal: true -*- require 'optparse'