Sha256: 72ffc9bc9248967b48eeefea67e7689e4bb92efa3e4c4d01ac7b09ac5115aece
Contents?: true
Size: 245 Bytes
Versions: 8
Compression:
Stored size: 245 Bytes
Contents
require 'ronin/gen/generator' class TemplatedGenerator < Gen::Generator TEMPLATE_FILE = File.join('generators','templated.txt.erb') class_option :message, :type => :string def generate erb TEMPLATE_FILE, 'templated.txt' end end
Version data entries
8 entries across 8 versions & 1 rubygems