Sha256: 92c61a4c5867accfc7ecc1f9e16eff5fbaf1b5e26ef71a905ca4ebf422ca47f5
Contents?: true
Size: 440 Bytes
Versions: 9
Compression:
Stored size: 440 Bytes
Contents
module Sprout ## # This is where you describe your new Generator. class <%= input.camel_case %>Generator < Generator::Base ## # This is how you add a parameter to your generator # # # @return [String] Say fwee! # add_param :fwee, String, { :default => "fwee" } # def manifest directory input.snake_case do template "#{input.camel_case}<%= extension %>" end end end end
Version data entries
9 entries across 9 versions & 1 rubygems