method
error?
error?(code)
public
Hide source
# File lib/webrick/httpstatus.rb, line 108 def error?(code) code.to_i >= 400 and code.to_i < 600 end