Sha256: 5bc1e8684f837ca846ab3bb0a1bd61097afe6fcf9b07b16058886bc6ac0f3bbb

Contents?: true

Size: 224 Bytes

Versions: 15

Compression:

Stored size: 224 Bytes

Contents

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

  def copy_initializer_file
    copy_file "initializer.rb", "config/initializers/#{file_name}.rb"
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
kit_cms-2.3.22 lib/generators/initializer/initializer_generator.rb
kit_cms-2.3.20 lib/generators/initializer/initializer_generator.rb
kit_cms-2.3.19 lib/generators/initializer/initializer_generator.rb
kit_cms-2.3.18 lib/generators/initializer/initializer_generator.rb
kit_cms-2.3.17 lib/generators/initializer/initializer_generator.rb
kit_cms-2.3.16 lib/generators/initializer/initializer_generator.rb
kit_cms-2.3.15 lib/generators/initializer/initializer_generator.rb
kit_cms-2.3.14 lib/generators/initializer/initializer_generator.rb
kit_cms-2.3.13 lib/generators/initializer/initializer_generator.rb
kit_cms-2.3.11 lib/generators/initializer/initializer_generator.rb
kit_cms-2.3.10 lib/generators/initializer/initializer_generator.rb
kit_cms-2.3.9 lib/generators/initializer/initializer_generator.rb
kit_cms-2.3.8 lib/generators/initializer/initializer_generator.rb
kit_cms-2.3.7 lib/generators/initializer/initializer_generator.rb
kit_cms-2.3.6 lib/generators/initializer/initializer_generator.rb