How do I mixin to expose methods in a rails generator template?

I have created a generator which works, but I want to expose some
methods from a module Inside the template I am manifesting and cannot
figure out how to get there.

It is easy enough to mix my module into Rails::Generators::Base to get
inside the generator, but the template is a whole other beast.

Any suggestions?