summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/open-uri.rb3
-rw-r--r--lib/pp.rb3
-rw-r--r--lib/prettyprint.rb3
-rw-r--r--lib/resolv.rb3
-rw-r--r--lib/securerandom.rb2
-rw-r--r--lib/tmpdir.rb3
-rw-r--r--lib/unicode_normalize/tables.rb2
7 files changed, 7 insertions, 12 deletions
diff --git a/lib/open-uri.rb b/lib/open-uri.rb
index b8093ad40c..c63e5292aa 100644
--- a/lib/open-uri.rb
+++ b/lib/open-uri.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'uri'
require 'stringio'
require 'time'
diff --git a/lib/pp.rb b/lib/pp.rb
index 6db423da23..9678774b8c 100644
--- a/lib/pp.rb
+++ b/lib/pp.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'prettyprint'
diff --git a/lib/prettyprint.rb b/lib/prettyprint.rb
index 454c69233d..2a3ca90dc1 100644
--- a/lib/prettyprint.rb
+++ b/lib/prettyprint.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
#
# This class implements a pretty printing algorithm. It finds line breaks and
# nice indentations for grouped structure.
diff --git a/lib/resolv.rb b/lib/resolv.rb
index 17c832037f..61bed16b3f 100644
--- a/lib/resolv.rb
+++ b/lib/resolv.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'socket'
require 'timeout'
diff --git a/lib/securerandom.rb b/lib/securerandom.rb
index 49995d9eb3..5a38fc0292 100644
--- a/lib/securerandom.rb
+++ b/lib/securerandom.rb
@@ -1,5 +1,5 @@
# -*- coding: us-ascii -*-
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
begin
require 'openssl'
rescue LoadError
diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb
index 3c6c00bc8e..e4df93c2d0 100644
--- a/lib/tmpdir.rb
+++ b/lib/tmpdir.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
#
# tmpdir - retrieve temporary directory path
#
diff --git a/lib/unicode_normalize/tables.rb b/lib/unicode_normalize/tables.rb
index 64f16c2318..06d92714fe 100644
--- a/lib/unicode_normalize/tables.rb
+++ b/lib/unicode_normalize/tables.rb
@@ -1,5 +1,5 @@
# coding: us-ascii
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
# automatically generated by template/unicode_norm_gen.tmpl