Sha256: 4240347b453d13cb12f3e820d1aa628203d91ac5914290c927798eb077829391

Contents?: true

Size: 384 Bytes

Versions: 1

Compression:

Stored size: 384 Bytes

Contents

require 'rails/generators/base'

module ExperimentLight
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path('../../templates', __FILE__)

      desc 'Copy experiment_sample.yml files to your application.'

      def copy_initializer
        copy_file 'experiment_sample.yml', 'config/experiment.yml'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
experiment_light-0.3.0 lib/generators/experiment_light/install_generator.rb