Sha256: a8bd11e9b7aed34dd8bac4718877cd36b0989b662373ea9d6cb1553f1c32c52e

Contents?: true

Size: 285 Bytes

Versions: 2

Compression:

Stored size: 285 Bytes

Contents

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
highrise_mapper-0.0.3 lib/generators/highrise_mapper/config_generator.rb
highrise_mapper-0.0.2 lib/generators/highrise_mapper/config_generator.rb