Created
March 17, 2009 06:29
-
-
Save deepthawtz/80350 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Merb::Config wrapped in a class << self (uses optparse) | |
# Returns the hash of default config values for Merb. | |
# | |
# ==== Returns | |
# Hash:: The defaults for the config. | |
# | |
# :api: private | |
def defaults | |
@defaults ||= { | |
:host => "0.0.0.0", | |
:port => "4000", | |
:adapter => "runner", | |
:reload_classes => true, | |
:fork_for_class_load => Merb.forking_environment?, | |
:environment => "development", | |
:merb_root => Dir.pwd, | |
:use_mutex => true, | |
:log_delimiter => " ~ ", | |
:log_auto_flush => false, | |
:log_level => :info, | |
:log_stream => STDOUT, | |
:disabled_components => Merb.on_windows? ? [:signals] : [], | |
:deferred_actions => [], | |
:verbose => false, | |
:name => "merb" | |
} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment