Class: MailEngine::CopyResources
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- MailEngine::CopyResources
- Defined in:
- lib/mail_engine/generators/copy_resources.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) copy_resources
6 7 8 9 10 |
# File 'lib/mail_engine/generators/copy_resources.rb', line 6 def copy_resources from = File.(File.join(File.dirname(__FILE__), "..", "..", "..", "public")) to = File.(File.join(Rails.root, "public")) directory from, to end |