Sha256: 52267a4b8933c6b10468263f9406f3eb985c23c0e70230549f42ec4cd0ddeb08

Contents?: true

Size: 341 Bytes

Versions: 25

Compression:

Stored size: 341 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

25 entries across 25 versions & 1 rubygems

Version Path
sprout-1.0.4.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.3.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.2.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.1.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.0.pre lib/sprout/generators/generator/templates/generator_class.rb