Sha256: 57e9e4f66fa9fc81108a17328f0fecb33408a9cf89bdcc633421365c8311cd28
Contents?: true
Size: 424 Bytes
Versions: 35
Compression:
Stored size: 424 Bytes
Contents
module FormatParser class Document include FormatParser::AttributesJSON NATURE = :document attr_accessor :format attr_accessor :document_type attr_accessor :page_count 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