mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
38588af109
This is a grab-bag of minor configuration related refactorings: * Moved the top-level #configures into Sinatra::Application and delegate from top-level to the default application. * Modified default options loading to parse command line arguments the first time Application::default_options is accessed only. * Removed the ability to reload default_options by setting an application's options to nil. We can add this back in fairly easily but it seems to lead to the bad practice of modifying default_options and then reloading instead of modifying the application options directly. |
||
---|---|---|
.. | ||
methods.rb | ||
spec.rb | ||
unit.rb |