Sha256: 2c83b5a3e0087c0e9ab1f1dcf5efc7ae88227a4165b37cf4992b48f361c4e406

Contents?: true

Size: 361 Bytes

Versions: 3

Compression:

Stored size: 361 Bytes

Contents

module EnjuFlower
  module Generators
    class ViewsGenerator < Rails::Generators::Base
      source_root File.expand_path('../../../../app/views', __FILE__)

      def copy_files
        directories = %w(
          manifestations
        )

        directories.each do |dir|
          directory dir, "app/views/#{dir}"
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_flower-0.1.0.pre3 lib/generators/enju_flower/views_generator.rb
enju_flower-0.1.0.pre2 lib/generators/enju_flower/views_generator.rb
enju_flower-0.1.0.pre lib/generators/enju_flower/views_generator.rb