Skip to content

Commit 968bc8c

Browse files
authored
Merge pull request #78 from printfinn/patch-1
Typo
2 parents 5a4528c + 5666f2d commit 968bc8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/webrick/server.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def initialize(config={}, default=Config::General)
102102
@listeners = []
103103
@shutdown_pipe = nil
104104
unless @config[:DoNotListen]
105-
raise ArgumentError, "Port must an integer" unless @config[:Port].to_s == @config[:Port].to_i.to_s
105+
raise ArgumentError, "Port must be an integer" unless @config[:Port].to_s == @config[:Port].to_i.to_s
106106

107107
@config[:Port] = @config[:Port].to_i
108108
if @config[:Listen]

0 commit comments

Comments
 (0)