app/presenters/summary/pdf_presenter.rb
def generate(*args)
      forms = args.presence || DEFAULT_BUNDLE_FORMS

      generate_c100_form if forms.include?(:c100)
      generate_c1a_form  if forms.include?(:c1a)
      generate_c8_form   if forms.include?(:c8)
    end
# Gentle reminder this method does not return anything of value. Its purpose
# is to generate one or more forms, which will be bundled together.
# Once all the required forms have been generated, it is neccessary to call
# the instance method `#to_pdf` to return the final, combined PDF.
#
Gentle reminder this method does not return anything of value. Its purpose
is to generate one or more forms, which will be bundled together.
Once all the required forms have been generated, it is neccessary to call
the instance method `#to_pdf` to return the final, combined PDF.
Gentle reminder this method does not return anything of value . Its purpose is to generate one or more forms which will be bundled together . Once all the required forms have been generated it is neccessary to call the instance method ` #to_pdf ` to return the final combined PDF .
def generate(*args)
      forms = args.presence || DEFAULT_BUNDLE_FORMS
      generate_c100_form if forms.include?(:c100)
      generate_c1a_form  if forms.include?(:c1a)
      generate_c8_form   if forms.include?(:c8)
    end
def generate ( * args ) forms = args . presence || DEFAULT_BUNDLE_FORMS generate_c100_form if forms . include? ( :c100 ) generate_c1a_form if forms . include? ( :c1a ) generate_c8_form if forms . include? ( :c8 ) end
Gentle reminder this method does not return anything of value.
Gentle reminder this method does not return anything of value .
args