Class: WEBrick::HTTPResponse
- Inherits:
-
Object
- Object
- WEBrick::HTTPResponse
- Defined in:
- lib/zfben_hanoi/webrick.rb
Instance Method Summary collapse
Instance Method Details
#fail_silently ⇒ Object
24 25 26 |
# File 'lib/zfben_hanoi/webrick.rb', line 24 def fail_silently @fail_silently = true end |
#fail_silently? ⇒ Boolean
20 21 22 |
# File 'lib/zfben_hanoi/webrick.rb', line 20 def fail_silently? @fail_silently end |
#send ⇒ Object
15 |
# File 'lib/zfben_hanoi/webrick.rb', line 15 alias send send_response |
#send_response(socket) ⇒ Object
16 17 18 |
# File 'lib/zfben_hanoi/webrick.rb', line 16 def send_response(socket) send(socket) unless fail_silently? end |