Sha256: e79fbc96ac7ff6f4adeb046873155d8483b325eceac45acfe14863b4ef83d6cf

Contents?: true

Size: 467 Bytes

Versions: 1

Compression:

Stored size: 467 Bytes

Contents

module Html5
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      source_root File.expand_path('../templates', __FILE__)

      def copy_views
        directory "views", "app/views"
      end

      def copy_stylesheets
        directory "assets", "app/assets"
      end

      def copy_extras
        directory "public", "public"
      end

      def show_readme
        readme "README" if behavior == :invoke
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
html5-slim-rails-0.0.2 lib/generators/html5/install/install_generator.rb