def assets
      Dir["#{directory}/**/*"].sort.select{|path| !File.directory?(path) && !File.basename(path).include?("yml") }.map do |file|
        file_to_hash(file)
      end
    end
def assets
      Dir["#{directory}/**/*"].sort.select{|path| !File.directory?(path) && !File.basename(path).include?("yml") }.map do |file|
        file_to_hash(file)
      end
    end
def assets Dir [ "#{directory}/**/*" ] . sort . select { | path | ! File . directory? ( path ) && ! File . basename ( path ) . include? ( "yml" ) } . map do | file | file_to_hash ( file ) end end
This method is used for the exporter to copy assets
This method is used for the exporter to copy assets