Sha256: 03e5204fed3fa5d1d051033055fc72b72a32646eb263da1fcee2f5737038502e

Contents?: true

Size: 332 Bytes

Versions: 120

Compression:

Stored size: 332 Bytes

Contents

module Bookends
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path('../../templates', __FILE__)

    def copy_config_file
      copy_file 'config.yml', 'bookends-config.yml'
    end

    def copy_initializer_file
      copy_file 'initializer.rb', 'config/initializers/bookends.rb'
    end
  end
end

Version data entries

120 entries across 120 versions & 1 rubygems

Version Path
bookends-10.4.6 lib/generators/bookends/install_generator.rb
bookends-10.4.5 lib/generators/bookends/install_generator.rb
bookends-10.4.4 lib/generators/bookends/install_generator.rb
bookends-10.4.3 lib/generators/bookends/install_generator.rb
bookends-10.4.2 lib/generators/bookends/install_generator.rb
bookends-10.4.1 lib/generators/bookends/install_generator.rb
bookends-10.4.0 lib/generators/bookends/install_generator.rb
bookends-10.3.4 lib/generators/bookends/install_generator.rb
bookends-10.3.3 lib/generators/bookends/install_generator.rb
bookends-10.3.2 lib/generators/bookends/install_generator.rb
bookends-10.3.1 lib/generators/bookends/install_generator.rb
bookends-10.3.0 lib/generators/bookends/install_generator.rb
bookends-10.2.8 lib/generators/bookends/install_generator.rb
bookends-10.2.7 lib/generators/bookends/install_generator.rb
bookends-10.2.6 lib/generators/bookends/install_generator.rb
bookends-10.2.5 lib/generators/bookends/install_generator.rb
bookends-10.2.5.alpha8 lib/generators/bookends/install_generator.rb
bookends-10.2.5.alpha7 lib/generators/bookends/install_generator.rb
bookends-10.2.5.alpha6 lib/generators/bookends/install_generator.rb
bookends-10.2.5.alpha5 lib/generators/bookends/install_generator.rb