I have a file 'page.rb' containing:
require_relative "template.rb"
class MM8 < Template
end
I then have a file 'template.rb' containing:
class Template
end
Why can't I extend the MM8 class with the Template class? I get 'uninitialized constant Template (NameError)' when I try to run the program.