Sha256: 92601a7b63ef4977f9a8f11bc72aacb73d8a924fda571ba7f08107ad1f50bd92

Contents?: true

Size: 269 Bytes

Versions: 11

Compression:

Stored size: 269 Bytes

Contents

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

    desc "Creates a Knock initializer."

    def copy_initializer
      template 'knock.rb', 'config/initializers/knock.rb'
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
knock-2.1.1 lib/generators/knock/install_generator.rb
knock-2.1 lib/generators/knock/install_generator.rb
knock-2.0 lib/generators/knock/install_generator.rb
knock-1.5 lib/generators/knock/install_generator.rb
knock-1.4.2 lib/generators/knock/install_generator.rb
knock-1.4.1 lib/generators/knock/install_generator.rb
knock-1.4.0 lib/generators/knock/install_generator.rb
knock-1.3.0 lib/generators/knock/install_generator.rb
knock-1.2.0 lib/generators/knock/install_generator.rb
knock-1.1.0 lib/generators/knock/install_generator.rb
knock-1.1.0.rc1 lib/generators/knock/install_generator.rb