Sha256: a4649b32f2bf01e4e4080676fea52325849111ab2181b3b576f7bfe3174e659e

Contents?: true

Size: 464 Bytes

Versions: 2

Compression:

Stored size: 464 Bytes

Contents

require 'forwardable'
require 'logger'

require "jeanine/version"
require 'jeanine/core_ext'
require 'jeanine/router'
require 'jeanine/app'
require 'tilt'

module Jeanine
  def self.view_paths
    @_view_paths ||= Set.new(["views"])
  end
  def self.tilt_cache
    @title_cache ||= Tilt::Cache.new
  end

  def self.logger
    @logger ||= Logger.new(STDOUT)
  end

  def logger=(val)
    @logger = val
  end

  def self.router
    @router ||= Router.new
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jeanine-0.4.0 lib/jeanine.rb
jeanine-0.3.0 lib/jeanine.rb