Module: Gumbo

Defined in:
lib/gumbo/cli.rb,
lib/gumbo/logger.rb,
lib/gumbo/eco_file.rb,
lib/gumbo/asset_file.rb,
lib/gumbo/liquid_file.rb,
lib/gumbo/package_file.rb,
lib/gumbo/asset_builder.rb,
lib/gumbo/asset_package.rb,
lib/gumbo/template_file.rb,
lib/gumbo/java_script_file.rb,
lib/gumbo/style_sheet_file.rb,
lib/gumbo/coffee_script_file.rb,
lib/gumbo/compile_to_java_script_file.rb

Defined Under Namespace

Classes: AssetBuilder, AssetFile, AssetPackage, CLI, CoffeeScriptFile, CompileToJavaScriptFile, EcoFile, JavaScriptFile, LiquidFile, PackageFile, StyleSheetFile, TemplateFile

Class Method Summary collapse

Class Method Details

.loggerObject



4
5
6
7
8
9
10
11
12
# File 'lib/gumbo/logger.rb', line 4

def self.logger
  @logger ||= begin
    logger = Logger.new(STDOUT)
    logger.formatter = proc do |severity, datetime, progname, msg|
      "#{msg}\n"
    end
    logger
  end
end

.logger=(logger) ⇒ Object



14
15
16
# File 'lib/gumbo/logger.rb', line 14

def self.logger=(logger)
  @logger = logger
end