Sha256: 5393b986f1b313c2185dd653d3a395e7bee260780014ee99fe2a1708f75c7e58
Contents?: true
Size: 360 Bytes
Versions: 39
Compression:
Stored size: 360 Bytes
Contents
class TempGenerator < Sprout::Generator::Base add_param :source, String, { :default => 'src' } set :name, :demo set :pkg_name, 'temp_generator' set :pkg_version, '1.0.pre' def manifest directory input do directory source do template 'Main.as' end end end private def class_name input.camel_case end end
Version data entries
39 entries across 39 versions & 1 rubygems