From c4fdfabcc8ea3f6186d1560f7756211fce125be3 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 16 Dec 2015 05:31:54 +0000 Subject: 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 --- ext/psych/lib/psych/core_ext.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/psych/lib/psych/core_ext.rb') diff --git a/ext/psych/lib/psych/core_ext.rb b/ext/psych/lib/psych/core_ext.rb index 9c8134da7e..1a98279afd 100644 --- a/ext/psych/lib/psych/core_ext.rb +++ b/ext/psych/lib/psych/core_ext.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false class Object def self.yaml_tag url Psych.add_tag(url, self) -- cgit v1.2.3