aboutsummaryrefslogtreecommitdiffstats
path: root/ext/mathn
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-16 05:31:54 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-16 05:31:54 +0000
commit6319c35c15c452cfe5c050be0a177d82d1351300 (patch)
tree52953802cfeae93908e52c59596365a3e946118b /ext/mathn
parentf7ec67468c594e206baa8a9d53ea37936f26d48d (diff)
downloadruby-6319c35c15c452cfe5c050be0a177d82d1351300.tar.gz
handle ext/ as r53141
g -L frozen_string_literal ext/**/*.rb|xargs ruby -Ka -e'ARGV.each{|fn|puts fn;open(fn,"r+"){|f|s=f.read.sub(/\A(#!.*\n)?(#.*coding.*\n)?/,"\\&# frozen_string_literal: false\n");f.rewind;f.write s}}' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/mathn')
-rw-r--r--ext/mathn/complex/extconf.rb1
-rw-r--r--ext/mathn/rational/extconf.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/ext/mathn/complex/extconf.rb b/ext/mathn/complex/extconf.rb
index d4d14ffcb8..a3f45ac4fc 100644
--- a/ext/mathn/complex/extconf.rb
+++ b/ext/mathn/complex/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "mkmf"
create_makefile "mathn/complex"
diff --git a/ext/mathn/rational/extconf.rb b/ext/mathn/rational/extconf.rb
index ba76306b7b..4e4cc5f621 100644
--- a/ext/mathn/rational/extconf.rb
+++ b/ext/mathn/rational/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "mkmf"
create_makefile "mathn/rational"