class Pohoda::Parsers::Prn::PDFType

Public Instance Methods

file_name() click to toggle source
# File lib/pohoda/parsers/prn/pdf_type.rb, line 7
def file_name
  at 'prn:fileName'
end
file_name_attributes() click to toggle source
# File lib/pohoda/parsers/prn/pdf_type.rb, line 11
def file_name_attributes
  attributes_at 'prn:fileName'
end
to_h() click to toggle source
# File lib/pohoda/parsers/prn/pdf_type.rb, line 15
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:file_name] = file_name if has? 'prn:fileName'
  hash[:file_name_attributes] = file_name_attributes if has? 'prn:fileName'

  hash
end