mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Merge branch 'master' of github.com:sinatra/sinatra
Conflicts: lib/sinatra/base.rb
This commit is contained in:
commit
5ae2c5f168
1 changed files with 2 additions and 2 deletions
|
@ -1185,7 +1185,7 @@ module Sinatra
|
|||
public_folder
|
||||
end
|
||||
|
||||
private
|
||||
private
|
||||
# Condition for matching host name. Parameter might be String or Regexp.
|
||||
def host_name(pattern)
|
||||
condition { pattern === request.host }
|
||||
|
@ -1347,7 +1347,7 @@ module Sinatra
|
|||
end
|
||||
|
||||
# Run the Sinatra app as a self-hosted server using
|
||||
# Thin, Mongrel or WEBrick (in that order). If given a block, will call
|
||||
# Thin, Puma, Mongrel, or WEBrick (in that order). If given a block, will call
|
||||
# with the constructed handler once we have taken the stage.
|
||||
def run!(options={})
|
||||
set options
|
||||
|
|
Loading…
Reference in a new issue