lib/mail_engine/generators/install.rb in mail_engine-0.1.0 vs lib/mail_engine/generators/install.rb in mail_engine-0.1.1
- old
+ new
@@ -1,21 +1,22 @@
module MailEngine
class Install < Rails::Generators::Base
desc "Install Mail Engine."
source_root File.join(File.dirname(__FILE__))
+ def create_config
+ say "Create Configure file to project...", :yellow
+ MailEngine::CreateConfig.start
+ end
+
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
\ No newline at end of file