Module: Jabs

Includes:
Johnson::Nodes
Defined in:
lib/jabs.rb,
lib/jabs/engine.rb,
lib/jabs/middleware.rb,
lib/jabs/precompiler.rb

Defined Under Namespace

Modules: Rack Classes: Engine, Precompiler

Constant Summary collapse

NeverLive =
%w{dragstart drag dragend dropstart drop dropend}

Instance Attribute Summary

Attributes included from Johnson::Nodes

#value

Class Method Summary collapse

Class Method Details

.loggerObject



18
19
20
21
22
23
24
25
26
27
# File 'lib/jabs.rb', line 18

def self.logger
  @logger ||= begin
    #TODO configurable logging
    logger       = Logger.new STDOUT
    logger.level = Logger::DEBUG
    logger.progname = "jabs"
    logger.info "Started Logging"
    logger
  end
end

.rootObject



7
8
9
# File 'lib/jabs.rb', line 7

def self.root
  @root ||= Pathname.new(__FILE__).dirname.expand_path
end