1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

explain'n

This commit is contained in:
Blake Mizerany 2008-03-28 14:38:40 -07:00
parent 83cba9cf07
commit ed0638480d

View file

@ -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|