lib/arxutils/migrate.rb in arxutils-0.1.37 vs lib/arxutils/migrate.rb in arxutils-0.1.38

- old
+ new

@@ -137,10 +137,10 @@ additional = "" else additional = kind end fname = File.join( @migrate_dir , sprintf("%03d_create_%s%s.rb" , idy , additional , classname_downcase) ) - File.open( fname , 'w' , {:encoding => Encoding::UTF_8}){ |f| + File.open( fname , 'w' , **{:encoding => Encoding::UTF_8}){ |f| f.puts( content ) } end # relationのスクリプトをファイル出力する