= private = protected
success?(code)
Is code a successful status?
# File lib/webrick/httpstatus.rb, line 142 def success?(code) code.to_i >= 200 and code.to_i < 300 end