Sha256: 4091b40cc6565e631a1afd683a30198954c9c1ff83a1be62c4a7c8c5665a22fb
Contents?: true
Size: 386 Bytes
Versions: 3
Compression:
Stored size: 386 Bytes
Contents
module LetterGenerator class Runner < Thor include Thor::Actions option :output_file, default: 'letter.tex', desc: 'Outputfile' desc 'generate', 'Generate template' def generate content = LetterContent.new template = LetterTemplate.new generator = Generator.new(template.file) generator.run(content, options[:output_file]) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
letter_generator-0.0.4 | lib/letter_generator/runner.rb |
letter_generator-0.0.3 | lib/letter_generator/runner.rb |
letter_generator-0.0.1 | lib/letter_generator/runner.rb |