Sha256: 00b5ec88736d36afc0c901dafb6e03966c9dc3213d54e3620769ad9b5c511638

Contents?: true

Size: 360 Bytes

Versions: 4

Compression:

Stored size: 360 Bytes

Contents

require 'rails/generators'

module Gretel
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)
    
    desc "Creates an initializer for breadcrumbs in config/initializers/breadcrumbs.rb"
    def create_initializer
      copy_file "initializer.rb", "config/initializers/breadcrumbs.rb"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gretel-2.0.0 lib/generators/gretel/install_generator.rb
gretel-2.0.0.beta1 lib/generators/gretel/install_generator.rb
gretel-1.2.1 lib/generators/gretel/install_generator.rb
gretel-1.2.0 lib/generators/gretel/install_generator.rb