Sha256: 3a13fbb8b577ba25888452be1d77ac0966dafb8425dfbc7831900c1afa89bd69

Contents?: true

Size: 252 Bytes

Versions: 1

Compression:

Stored size: 252 Bytes

Contents

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

  def copy_initializer_file
    copy_file("initializer.rb", File.join("config/initializers", class_path, "#{file_name}.rb"))
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_generator-3.0.0 lib/generators/initializer/initializer_generator.rb