Class: Bane::Behaviors::Responders::NewlineResponse
- Inherits:
-
Object
- Object
- Bane::Behaviors::Responders::NewlineResponse
- Defined in:
- lib/bane/behaviors/responders/newline_response.rb
Overview
Sends a newline character as the only response
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#serve(io) ⇒ Object
9 10 11 |
# File 'lib/bane/behaviors/responders/newline_response.rb', line 9 def serve(io) io.write "\n" end |