module TeachingPrintables

require_relative “./templatable”

Constants

BASEDIR

The base source directory as installed on the system

GRAPHIC_EXTENSIONS
VERSION

Public Instance Methods

is_image_file?(filename) click to toggle source
# File lib/teaching_printables.rb, line 25
def is_image_file?(filename)
  !filename.start_with?(".") && GRAPHIC_EXTENSIONS.include?(File.extname(filename))
end