Class: WEBrick::HTTPResponse
- Inherits:
-
Object
- Object
- WEBrick::HTTPResponse
- Defined in:
- lib/newjs/jstest.rb
Instance Method Summary collapse
Instance Method Details
#fail_silently ⇒ Object
188 189 190 |
# File 'lib/newjs/jstest.rb', line 188 def fail_silently @fail_silently = true end |
#fail_silently? ⇒ Boolean
184 185 186 |
# File 'lib/newjs/jstest.rb', line 184 def fail_silently? @fail_silently end |
#send ⇒ Object
179 |
# File 'lib/newjs/jstest.rb', line 179 alias send send_response |
#send_response(socket) ⇒ Object
180 181 182 |
# File 'lib/newjs/jstest.rb', line 180 def send_response(socket) send(socket) unless fail_silently? end |