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.32.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.31.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.29.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.26.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.25.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.24.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.23.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.22.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.20.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.19.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.18.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.17.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.16.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.15.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.14.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.13.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.11.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.9.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.8.pre lib/sprout/generators/generator/templates/generator_class.rb
sprout-1.0.5.pre lib/sprout/generators/generator/templates/generator_class.rb