mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
explain'n
This commit is contained in:
parent
83cba9cf07
commit
ed0638480d
1 changed files with 4 additions and 0 deletions
|
@ -625,6 +625,10 @@ module Sinatra
|
|||
self.class.default_options
|
||||
end
|
||||
|
||||
|
||||
##
|
||||
# Load all options given on the command line
|
||||
# NOTE: Ignores --name so unit/spec tests can run individually
|
||||
def load_options!
|
||||
require 'optparse'
|
||||
OptionParser.new do |op|
|
||||
|
|
Loading…
Reference in a new issue