Sha256: bc4a25bf6161975a83317f975f6cbe2314daf9a01fe69abd9078b6088c8db142

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

class Slf4r::LoggingGenerator < Rails::Generators::Base
  #source_root File.expand_path('../templates', __FILE__)

  def setup
    source = File.expand_path('../../templates', __FILE__)
    initializer "logging.rb", File.read(File.join(source, "logging.rb"))
    gem 'slf4r', :require => 'slf4r/logging_logger'
    gem "logging"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slf4r-0.4.2 lib/generators/slf4r/logging/logging_generator.rb