| Module | EventMachine::Protocols::LineProtocol |
| In: |
lib/em/protocols/line_protocol.rb
|
LineProtocol will parse out newline terminated strings from a receive_data stream
module Server
include EM::P::LineProtocol
def receive_line(line)
send_data("you said: #{line}")
end
end