Class: Bane::Behaviors::Responders::RandomResponse
- Inherits:
-
Object
- Object
- Bane::Behaviors::Responders::RandomResponse
- Defined in:
- lib/bane/behaviors/responders/random_response.rb
Overview
Sends a random response.
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#serve(io) ⇒ Object
9 10 11 |
# File 'lib/bane/behaviors/responders/random_response.rb', line 9 def serve(io) io.write random_string end |