Sha256: 28d224ef04da36d3250827b4a62f75fccef4913627ea0a6fc13bbe9143d2439d

Contents?: true

Size: 310 Bytes

Versions: 7

Compression:

Stored size: 310 Bytes

Contents

require 'rails/generators/base'

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

      def create_titler_initializer
        copy_file 'titler.rb', 'config/initializers/titler.rb'
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
titler-1.0.2 lib/generators/titler/install/install_generator.rb
titler-1.0.1 lib/generators/titler/install/install_generator.rb
titler-1.0.0 lib/generators/titler/install/install_generator.rb
titler-0.4.4 lib/generators/titler/install/install_generator.rb
titler-0.4.3 lib/generators/titler/install/install_generator.rb
titler-0.4.2 lib/generators/titler/install/install_generator.rb
titler-0.4.1 lib/generators/titler/install/install_generator.rb