Module: Fewer
- Defined in:
- lib/fewer.rb,
lib/fewer/app.rb,
lib/fewer/errors.rb,
lib/fewer/engines.rb,
lib/fewer/version.rb,
lib/fewer/engines/js.rb,
lib/fewer/middleware.rb,
lib/fewer/serializer.rb,
lib/fewer/engines/css.rb,
lib/fewer/engines/less.rb,
lib/fewer/rails_helpers.rb,
lib/fewer/engines/abstract.rb
Defined Under Namespace
Modules: Engines, RailsHelpers, Serializer Classes: App, MiddleWare, MissingSourceFileError
Constant Summary collapse
- VERSION =
'0.3.0'
Class Attribute Summary collapse
Class Attribute Details
.logger ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/fewer.rb', line 5 def logger @logger ||= begin defined?(Rails) ? Rails.logger : begin require 'logger' log = Logger.new(STDOUT) log.level = Logger::INFO log end end end |