class FormatParser::Document

Constants

NATURE

Attributes

content_type[RW]
document_type[RW]
format[RW]
page_count[RW]

Public Class Methods

new(**attributes) click to toggle source

Only permits assignments via defined accessors

# File lib/document.rb, line 13
def initialize(**attributes)
  attributes.map { |(k, v)| public_send("#{k}=", v) }
end

Public Instance Methods

nature() click to toggle source
# File lib/document.rb, line 17
def nature
  NATURE
end