Sha256: e875a6c2ef5d8b14bb3cbd87b17e0878b8cad9378b7f19714d36809d3e671412

Contents?: true

Size: 225 Bytes

Versions: 2

Compression:

Stored size: 225 Bytes

Contents

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

  def copy_initializer_file
    copy_file "initializer.rb", "config/initializers/retention_magic.rb"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
retention_magic-0.1beta3 lib/generators/retention_magic/retention_magic_generator.rb
retention_magic-0.1beta2 lib/generators/retention_magic/retention_magic_generator.rb