Sha256: 314cbfab384a62953349078e4b77c7d0f78991016ac3336095d0c3a8a89dd2d1

Contents?: true

Size: 217 Bytes

Versions: 8

Compression:

Stored size: 217 Bytes

Contents

require 'logger'
module <%= MiscUtils.camel_case(name) %>
  class << self
    attr_writer :logger
    # @return [Logger] the logger for the project
    def logger
      @logger ||= Logger.new STDOUT
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gem_bootstrap-0.2.1 templates/lib/newgem/logger.rb
gem_bootstrap-0.2.0 templates/lib/newgem/logger.rb
gem_bootstrap-0.1.3 templates/lib/newgem/logger.rb
gem_bootstrap-0.1.2 templates/lib/newgem/logger.rb
gem_bootstrap-0.1.1 templates/lib/newgem/logger.rb
gem_bootstrap-0.1.0 templates/lib/newgem/logger.rb
gem_bootstrap-0.0.2.pre templates/lib/newgem/logger.rb
gem_bootstrap-0.0.1 templates/lib/newgem/logger.rb