Sha256: 9eb48b287acea24832f505d6bb3ad497c39fed105703b18578596c36807b8d47

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

module ConteRailsTemplate #:nodoc:
  module Generators #:nodoc:
    class InstallGenerator < Rails::Generators::Base #:nodoc:
      namespace 'conte_rails_template'
      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

1 entries across 1 versions & 1 rubygems

Version Path
conte_rails_template-0.0.3 lib/generators/conte_rails_template/install_generator.rb