method
success?
success?(code)
public
Hide source
# File lib/webrick/httpstatus.rb, line 102 def success?(code) code.to_i >= 200 and code.to_i < 300 end