Sha256: b8e8179525037754a740f85eb58092d96dcff0ccf5a877e65bc58ae6d9bdbced
Contents?: true
Size: 389 Bytes
Versions: 2
Compression:
Stored size: 389 Bytes
Contents
require 'rbconfig' class EmailsGenerator < RubiGen::Base def initialize(runtime_args, runtime_options = {}) super @destination_root = File.expand_path('emails') end def manifest record do |m| m.directory '' m.template 'example_email.rb', 'example_email.rb' end end protected def banner <<-EOS Creates a simple email class." EOS end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
howitzer-0.0.3 | generators/emails/emails_generator.rb |
howitzer-0.0.1 | generators/emails/emails_generator.rb |