Class: Bane::Behaviors::Responders::RandomResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/bane/behaviors/responders/random_response.rb

Overview

Sends a random response.

Direct Known Subclasses

RandomResponseForEachLine

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