Sha256: c244e6c299316d92fce9e631f24ee75f826fa8ff85b87be80837331e34c9a1c0

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

module MailEngine
  class Install < Rails::Generators::Base
    desc "Install Mail Engine."
    source_root File.join(File.dirname(__FILE__))

    def copy_resources
      say "Copying Resource Files to project...", :yellow
      MailEngine::CopyResources.start
    end

    def copy_migrations
      say "Copying Migration Files to project...", :yellow
      MailEngine::CopyMigrations.start
    end

    def create_config
      say "Create Configure file to project...", :yellow
      MailEngine::CreateConfig.start
    end
  end
end # MailEngine

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mail_engine-0.1.0 lib/mail_engine/generators/install.rb