lib/bio/cli.rb
def glob_list(cfg, list, base)
      cfg[list].map! { |x| Dir.glob(x, base: base) }
      cfg[list].flatten!
      cfg[list].uniq!
    end
# Replaces in config globs with files
# @param [Hash] cfg config
# @param [Symbol] list list name
# @param [String] base glob base
Replaces in config globs with files
Replaces in config globs with files
def glob_list(cfg, list, base)
      cfg[list].map! { |x| Dir.glob(x, base: base) }
      cfg[list].flatten!
      cfg[list].uniq!
    end
def glob_list ( cfg , list , base ) cfg [ list ] . map! { | x | Dir . glob ( x , base : base ) } cfg [ list ] . flatten! cfg [ list ] . uniq! end
Replaces in config globs with files
Replaces in config globs with files
cfg
list
base
base glob base
base glob base