class Pohoda::Parsers::Prn::ParametersType2

Public Instance Methods

copy() click to toggle source
# File lib/pohoda/parsers/prn/parameters_type2.rb, line 7
def copy
  at 'prn:copy'
end
copy_attributes() click to toggle source
# File lib/pohoda/parsers/prn/parameters_type2.rb, line 11
def copy_attributes
  attributes_at 'prn:copy'
end
date_print() click to toggle source
# File lib/pohoda/parsers/prn/parameters_type2.rb, line 15
def date_print
  at 'prn:datePrint'
end
date_print_attributes() click to toggle source
# File lib/pohoda/parsers/prn/parameters_type2.rb, line 19
def date_print_attributes
  attributes_at 'prn:datePrint'
end
to_h() click to toggle source
# File lib/pohoda/parsers/prn/parameters_type2.rb, line 23
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:copy] = copy if has? 'prn:copy'
  hash[:copy_attributes] = copy_attributes if has? 'prn:copy'
  hash[:date_print] = date_print if has? 'prn:datePrint'
  hash[:date_print_attributes] = date_print_attributes if has? 'prn:datePrint'

  hash
end