module Raemon

Constants

VERSION

Public Class Methods

config() { |Configuration or Configuration| ... } click to toggle source

@yield [Raemon::Configuration] a block that allows for convenient configuration

@example

Raemon.config do |c|
  c.server_name = 'My Server'
end

@see Raemon::Configuration

# File lib/raemon.rb, line 26
def self.config
  block_given? and yield Configuration or Configuration
end
env() click to toggle source
# File lib/raemon.rb, line 30
def self.env
  config.env
end
env=(env) click to toggle source
# File lib/raemon.rb, line 34
def self.env=(env)
  config.env = env
end
logger() click to toggle source

@return [Logger] the logger used by this library

# File lib/raemon.rb, line 14
def self.logger
  Configuration.logger
end
root() click to toggle source

@see Raemon::Configuration#root

# File lib/raemon.rb, line 39
def self.root
  config.root
end
root=(root) click to toggle source
# File lib/raemon.rb, line 43
def self.root=(root)
  config.root = root
end