Sha256: 15073b7f1f8b6bc8c22ec8746a56fc806a4bd0a8e56455735a291df5f02741be

Contents?: true

Size: 421 Bytes

Versions: 6

Compression:

Stored size: 421 Bytes

Contents

require 'thor'

module HappySeed
  module Generators
    class StaticGenerator < 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

6 entries across 6 versions & 1 rubygems

Version Path
happy_seed-0.0.15 lib/generators/happy_seed/static/static_generator.rb
happy_seed-0.0.14 lib/generators/happy_seed/static/static_generator.rb
happy_seed-0.0.13 lib/generators/happy_seed/static/static_generator.rb
happy_seed-0.0.12 lib/generators/happy_seed/static/static_generator.rb
happy_seed-0.0.11 lib/generators/happy_seed/static/static_generator.rb
happy_seed-0.0.10 lib/generators/happy_seed/static/static_generator.rb