Sha256: 7a5b69e923134a00fcd190b487b9067d9c274e325b07b89db77e48846d6ca495

Contents?: true

Size: 225 Bytes

Versions: 11

Compression:

Stored size: 225 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

11 entries across 11 versions & 1 rubygems

Version Path
active_generator-2.0.10 lib/generators/initializer/initializer_generator.rb
active_generator-2.0.9 lib/generators/initializer/initializer_generator.rb
active_generator-2.0.8 lib/generators/initializer/initializer_generator.rb
active_generator-2.0.7 lib/generators/initializer/initializer_generator.rb
active_generator-2.0.6 lib/generators/initializer/initializer_generator.rb
active_generator-2.0.5 lib/generators/initializer/initializer_generator.rb
active_generator-2.0.4 lib/generators/initializer/initializer_generator.rb
active_generator-2.0.3 lib/generators/initializer/initializer_generator.rb
active_generator-2.0.2 lib/generators/initializer/initializer_generator.rb
active_generator-2.0.1 lib/generators/initializer/initializer_generator.rb
active_generator-2.0.0 lib/generators/initializer/initializer_generator.rb