Sha256: f98c6ce32cf75ac911576b0748899ec358b0f04b0f14c7c14e1963e9cb45551b

Contents?: true

Size: 332 Bytes

Versions: 3

Compression:

Stored size: 332 Bytes

Contents

module Typus

  module Generators

    class ViewsGenerator < Rails::Generators::Base

      source_root File.expand_path("../../../../app", __FILE__)

      desc <<-MSG
Description:
  Copies all Typus views to your application.

      MSG

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

    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typus-3.0.6 lib/generators/typus/views_generator.rb
typus-3.0.5 lib/generators/typus/views_generator.rb
typus-3.0.4 lib/generators/typus/views_generator.rb