Sha256: 120d5927522543356bdd422dbf370d2d7c3aec2f1f6ef812c4108ba3392e9768

Contents?: true

Size: 334 Bytes

Versions: 4

Compression:

Stored size: 334 Bytes

Contents

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

    desc "Generator creates a sample initializer for the session_logger"

    def create_config_files
      copy_file "session_logger.rb", "config/initializers/session_logger.rb"
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
session_logger-1.0.4 lib/generators/session_logger/initializer_generator.rb
session_logger-1.0.3 lib/generators/session_logger/initializer_generator.rb
session_logger-1.0.2 lib/generators/session_logger/initializer_generator.rb
session_logger-1.0.1 lib/generators/session_logger/initializer_generator.rb