Sha256: 6c96cb8d96fcee21913c92f850b62b884945ff0f692299c9e1b6552be48ceb13

Contents?: true

Size: 343 Bytes

Versions: 5

Compression:

Stored size: 343 Bytes

Contents

module Sprout
  class <%= input.camel_case %>Generator < Generator::Base
    
    ##
    # This is how you add a parameter to your generator
    #
    #   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

5 entries across 5 versions & 1 rubygems

Version Path
sprout-1.1.5.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.1.4.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.1.3.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.1.2.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.35.pre lib/sprout/generators/generator/templates/generator_class.rb