lib/archive.rb in format_parser-0.26.0 vs lib/archive.rb in format_parser-0.27.0
- old
+ new
@@ -24,9 +24,12 @@
# If a parser wants to provide any extra information to the caller
# it can be placed here
attr_accessor :intrinsics
+ # The MIME type of the archive
+ attr_accessor :content_type
+
# Only permits assignments via defined accessors
def initialize(**attributes)
attributes.map { |(k, v)| public_send("#{k}=", v) }
end
end