# File lib/apipie/extractor/recorder.rb, line 72 def reformat_hash(boundary, attrs, lines) if head = attrs[:head] lines << boundary lines.concat(head.split("\r\n")) # To avoid large and/or binary file bodies, simply indicate the contents in the output. lines << '' << %{... contents of "#{attrs[:name]}" ...} else # Look for subelements that contain a part. attrs.each { |k,v| v.is_a?(Hash) and reformat_hash(boundary, v, lines) } end end