Sha256: 6877d1b5ac0e951c0e8a7e3278302c264ae524952917b8583a80f70c90bf1917

Contents?: true

Size: 276 Bytes

Versions: 6

Compression:

Stored size: 276 Bytes

Contents

# Copies initializer file with default settings.
class Blogo::InstallGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)

  # :nodoc:
  def copy_initializer_file
    copy_file "initializer.rb", "config/initializers/blogo.rb"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
blogo-0.1.4 lib/generators/blogo/install/install_generator.rb
blogo-0.1.3 lib/generators/blogo/install/install_generator.rb
blogo-0.1.2 lib/generators/blogo/install/install_generator.rb
blogo-0.1.1 lib/generators/blogo/install/install_generator.rb
blogo-0.1.0 lib/generators/blogo/install/install_generator.rb
blogo-0.0.10 lib/generators/blogo/install/install_generator.rb