# File lib/hammer_cli_katello/repository.rb, line 167 def format(path) fullpath = ::File.expand_path(path) if File.directory?(fullpath) Dir["#{fullpath}/*"].map { |file| ::File.new(file, 'rb') } else [::File.new(fullpath, 'rb')] end end