class Maildotyml::InstallGenerator

Public Class Methods

source_root() click to toggle source
# File lib/maildotyml/generators/install_generator.rb, line 9
def self.source_root
  @_maildotyml_source_root ||= File.expand_path("../templates", __FILE__)
end

Public Instance Methods

create_config_file() click to toggle source
# File lib/maildotyml/generators/install_generator.rb, line 13
def create_config_file
  template 'mail.yml.example', File.join('config', 'mail.yml.example')
end