Sha256: cb50dd8b074b66dcade937309ab921dcf04416c2c5189c2c956e72ccd5f3e6db

Contents?: true

Size: 467 Bytes

Versions: 4

Compression:

Stored size: 467 Bytes

Contents

module ConteRailsTemplate #:nodoc:
  module Generators #:nodoc:
    class InstallGenerator < Rails::Generators::Base #:nodoc:

      source_root File.expand_path('../templates', __FILE__)

      def copy_stuff #:nodoc:
        copy_file 'layout.html.erb', 'views/layouts/application.html.erb'
        copy_file 'session.html.erb', 'views/layouts/single.html.erb'
      end

      def install_wice_grid
        generate "wice_grid:install"
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
conte_rails_template-0.0.5 lib/generators/conte_rails_template/install_generator.rb
conte_rails_template-0.0.4 lib/generators/conte_rails_template/install_generator.rb
conte_rails_template-0.0.2 lib/generators/conte_rails_template/install_generator.rb
conte_rails_template-0.0.1 lib/generators/conte_rails_template/install_generator.rb