Sha256: 9c8223db44fc3ea673dd8ef124429e781e84a7ea06647e151a96bfe2e5d22266

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

require 'rails/generators'

module Cronjobs
  module Generators
    class InstallGenerator < Rails::Generators::Base

      source_root File.expand_path('../templates', __FILE__)

      def create_configuration_file
        copy_file 'configuration.rb', 'config/cronjobs.rb'
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cronjobs-4.0.0.1 lib/generators/cronjobs/install/install_generator.rb