Sha256: b7a268d19edc5518354d7885da616adb47b517f81723fb94c469714b97116b09

Contents?: true

Size: 443 Bytes

Versions: 7

Compression:

Stored size: 443 Bytes

Contents

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

      desc "Installs the Navigasmic initializer into your application."

      def copy_initializer
        copy_file 'templates/initializer.rb', 'config/initializers/navigasmic.rb'
      end

      def display_readme
        readme 'POST_INSTALL' if behavior == :invoke
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
navigasmic-1.1.0 lib/generators/navigasmic/install/install_generator.rb
navigasmic-1.0.5 lib/generators/navigasmic/install/install_generator.rb
navigasmic-1.0.4 lib/generators/navigasmic/install/install_generator.rb
navigasmic-1.0.3 lib/generators/navigasmic/install/install_generator.rb
navigasmic-1.0.2 lib/generators/navigasmic/install/install_generator.rb
navigasmic-1.0.1 lib/generators/navigasmic/install/install_generator.rb
navigasmic-1.0.0 lib/generators/navigasmic/install/install_generator.rb