Sha256: 22bd561369afcc751c734040ed8b4904a4951bcea50acf385d2da8493f7bbe40
Contents?: true
Size: 246 Bytes
Versions: 7
Compression:
Stored size: 246 Bytes
Contents
require 'ronin/gen/generator' class TemplatedGenerator < Gen::Generator TEMPLATE_FILE = File.join('generators','templated.txt.erb') parameter :message, :type => String def generate template TEMPLATE_FILE, 'templated.txt' end end
Version data entries
7 entries across 7 versions & 1 rubygems