Method: WEBrick::HTTPStatus.info?
- Defined in:
- lib/webrick/httpstatus.rb
.info?(code) ⇒ Boolean
Is code an informational status?
146 147 148 |
# File 'lib/webrick/httpstatus.rb', line 146 def info?(code) code.to_i >= 100 and code.to_i < 200 end |