16 17 18 19 20
# File 'lib/filezor/util.rb', line 16 def files_from_map(map) map.inject([]) do |memo, (path, value)| memo << Filezor::File.new(StringIO.new(value), path) end end