diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-16 05:31:54 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-16 05:31:54 +0000 |
commit | c4fdfabcc8ea3f6186d1560f7756211fce125be3 (patch) | |
tree | 52953802cfeae93908e52c59596365a3e946118b /ext/io/console/lib | |
parent | 183c1a0fa1c9599f613ea8f4c54ed5229354714f (diff) | |
download | ruby-c4fdfabcc8ea3f6186d1560f7756211fce125be3.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/io/console/lib')
-rw-r--r-- | ext/io/console/lib/console/size.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/io/console/lib/console/size.rb b/ext/io/console/lib/console/size.rb index 519bc3be6d..f17206dfcf 100644 --- a/ext/io/console/lib/console/size.rb +++ b/ext/io/console/lib/console/size.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # fallback to console window size def IO.default_console_size [ |