Sha256: 5754e2b1906b402281a2a3c7891815d0dbc375da9c5bbacec7346f37ee2259d9

Contents?: true

Size: 287 Bytes

Versions: 2

Compression:

Stored size: 287 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 "logging"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slf4r-0.4.1 lib/generators/slf4r/logging/logging_generator.rb
slf4r-0.4.0 lib/generators/slf4r/logging/logging_generator.rb