Sha256: ae502e18eda3cb082106abc2c5baa95cdb412dac96dc9add271c3bb752fb375f
Contents?: true
Size: 505 Bytes
Versions: 16
Compression:
Stored size: 505 Bytes
Contents
# This file is part of the "Utopia Framework" project, and is licensed under the GNU AGPLv3. # Copyright 2010 Samuel Williams. All rights reserved. # See <utopia.rb> for licensing details. require 'pathname' require 'logger' require 'utopia/extensions/rack' module Utopia LOG = Logger.new($stderr) LOG.level = Logger::DEBUG module Middleware def self.default_root(subdir = "pages") Pathname.new(Dir.pwd).join(subdir).cleanpath.to_s end end end require 'utopia/path' require 'utopia/tag'
Version data entries
16 entries across 16 versions & 1 rubygems