lib/text.rb in format_parser-0.26.0 vs lib/text.rb in format_parser-0.27.0
- old
+ new
@@ -3,9 +3,10 @@
include FormatParser::AttributesJSON
NATURE = :text
attr_accessor :format
+ attr_accessor :content_type
# Only permits assignments via defined accessors
def initialize(**attributes)
attributes.map { |(k, v)| public_send("#{k}=", v) }
end