diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-05 22:22:56 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-05 22:22:56 +0000 |
commit | 36ca18b84715dcc92a82ec4cbef6e83321640443 (patch) | |
tree | d045ae961a90eb12a31843efe05ce9887b2072e0 | |
parent | a22d6f55e8d4e0dadea28c47dffd18d7ba1c0f4e (diff) |
Put an line before "frozen_string_literal: true" for emacs.
https://bugs.ruby-lang.org/issues/8976#note-49
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/pathname/lib/pathname.rb | 1 | ||||
-rw-r--r-- | lib/pp.rb | 1 | ||||
-rw-r--r-- | lib/prettyprint.rb | 1 | ||||
-rw-r--r-- | lib/resolv.rb | 1 | ||||
-rw-r--r-- | lib/tmpdir.rb | 1 | ||||
-rw-r--r-- | test/pathname/test_pathname.rb | 1 | ||||
-rw-r--r-- | test/test_pp.rb | 1 | ||||
-rw-r--r-- | test/test_prettyprint.rb | 1 | ||||
-rw-r--r-- | tool/transcode-tblgen.rb | 1 |
9 files changed, 9 insertions, 0 deletions
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 @@ -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' |