Sha256: 53beda085dfbf0782dd01d26ef66ec10ca4d7f4f10dcbf2e59302448cfbda288

Contents?: true

Size: 425 Bytes

Versions: 11

Compression:

Stored size: 425 Bytes

Contents

require 'thor'

module HappySeed
  module Generators
    class StaticBlogGenerator < Thor::Group
      include Thor::Actions
      source_root File.expand_path('../templates', __FILE__)
      def generate_rails_plugin
        source_root = File.expand_path('../templates', __FILE__)
        args.shift
        app_name = args.shift

        self.destination_root = app_name

        directory "."
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
happy_seed-0.0.21 lib/generators/happy_seed/static_blog/static_blog_generator.rb
happy_seed-0.0.19 lib/generators/happy_seed/static_blog/static_blog_generator.rb
happy_seed-0.0.18 lib/generators/happy_seed/static_blog/static_blog_generator.rb
happy_seed-0.0.17 lib/generators/happy_seed/static_blog/static_blog_generator.rb
happy_seed-0.0.16 lib/generators/happy_seed/static_blog/static_blog_generator.rb
happy_seed-0.0.15 lib/generators/happy_seed/static_blog/static_blog_generator.rb
happy_seed-0.0.14 lib/generators/happy_seed/static_blog/static_blog_generator.rb
happy_seed-0.0.13 lib/generators/happy_seed/static_blog/static_blog_generator.rb
happy_seed-0.0.12 lib/generators/happy_seed/static_blog/static_blog_generator.rb
happy_seed-0.0.11 lib/generators/happy_seed/static_blog/static_blog_generator.rb
happy_seed-0.0.10 lib/generators/happy_seed/static_blog/static_blog_generator.rb