lib/arxutils_sqlite3/cli.rb in arxutils_sqlite3-0.1.58 vs lib/arxutils_sqlite3/cli.rb in arxutils_sqlite3-0.1.59

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + module Arxutils_Sqlite3 # CLI用クラス class Cli def initialize(config, dbconfig, env, acrecord, yaml_fname, _mod) @config = config @@ -7,10 +9,10 @@ @env = env @acrecord = acrecord @dbconfig_path = @config.make_dbconfig_path(@dbconfig) @db_scheme_ary = nil - if yaml_fname && yaml_fname.strip != "" + if yaml_fname && yaml_fname.strip != '' yaml_pn = Pathname.new(yaml_fname) @db_scheme_ary = YAML.load_file(yaml_pn) end @mig = @config.prepare_for_migrate(@db_scheme_ary, @dbconfig_path, @dbconfig, @acrecord) end