module TeachingPrintables::Templatable

Creates grid layouts for flashcards or math sheets. Delegates Prawn methods to Prawn::Document.

Constants

Public Instance Methods

create_page_with_template(template) click to toggle source
# File lib/teaching_printables/templatable.rb, line 36
def create_page_with_template(template)
  start_new_page(PRINT_TEMPLATES[template])
  update_grid_options(PRINT_TEMPLATES[template])
end