Sha256: 7619b3ea526caf00f0ed372b0cf2248d013f2980421b769c60b2c945aee2f6d5

Contents?: true

Size: 331 Bytes

Versions: 25

Compression:

Stored size: 331 Bytes

Contents

require 'rails/generators'

module Gretel
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)
    
    desc "Creates a sample configuration file in config/breadcrumbs.rb"
    def create_config_file
      copy_file "breadcrumbs.rb", "config/breadcrumbs.rb"
    end
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
gretel-5.0.1 lib/generators/gretel/install_generator.rb
gretel-5.0.0 lib/generators/gretel/install_generator.rb
gretel-4.6.0 lib/generators/gretel/install_generator.rb
gretel-4.5.0 lib/generators/gretel/install_generator.rb
gretel-4.4.0 lib/generators/gretel/install_generator.rb
gretel-4.3.0 lib/generators/gretel/install_generator.rb
gretel-4.2.0 lib/generators/gretel/install_generator.rb
gretel-4.1.0 lib/generators/gretel/install_generator.rb
gretel-4.0.2 lib/generators/gretel/install_generator.rb
gretel-4.0.1 lib/generators/gretel/install_generator.rb
gretel-4.0.0 lib/generators/gretel/install_generator.rb
gretel-lite-3.0.10 lib/generators/gretel/install_generator.rb
gretel-3.0.9 lib/generators/gretel/install_generator.rb
gretel-3.0.8 lib/generators/gretel/install_generator.rb
gretel-3.0.7 lib/generators/gretel/install_generator.rb
gretel-3.0.6 lib/generators/gretel/install_generator.rb
gretel-3.0.5 lib/generators/gretel/install_generator.rb
gretel-3.0.4 lib/generators/gretel/install_generator.rb
gretel-3.0.3 lib/generators/gretel/install_generator.rb
gretel-3.0.2 lib/generators/gretel/install_generator.rb