Sha256: 528a942e3f2360e6c326996ef10ea765e623a2a792024527a2251a041fae19ac

Contents?: true

Size: 276 Bytes

Versions: 10

Compression:

Stored size: 276 Bytes

Contents

module MailCannon
  class ConfigGenerator < Rails::Generators::Base
    source_root File.expand_path('../../../../templates/config', __FILE__)

    def create_config_file
      config_yml = 'mailcannon.yml'
      copy_file config_yml, "config/#{config_yml}"
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mailcannon-0.1.1 lib/generators/mailcannon/config_generator.rb
mailcannon-0.1.0.pre.1 lib/generators/mailcannon/config_generator.rb
mailcannon-0.0.8.pre.1 lib/generators/mailcannon/config_generator.rb
mailcannon-0.0.8 lib/generators/mailcannon/config_generator.rb
mailcannon-0.0.6 lib/generators/mailcannon/config_generator.rb
mailcannon-0.0.5 lib/generators/mailcannon/config_generator.rb
mailcannon-0.0.4 lib/generators/highrise_mapper/config_generator.rb
mailcannon-0.0.3 lib/generators/highrise_mapper/config_generator.rb
mailcannon-0.0.2 lib/generators/highrise_mapper/config_generator.rb
mailcannon-0.0.1 lib/generators/highrise_mapper/config_generator.rb