Sha256: 692e859596f64a5af285b0c16b65a59e45cd392855235718f8347169e0ed26b4
Contents?: true
Size: 353 Bytes
Versions: 35
Compression:
Stored size: 353 Bytes
Contents
module FormatParser class Text 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 def nature NATURE end end end
Version data entries
35 entries across 35 versions & 1 rubygems