Module: Otaku::Server::EM
- Defined in:
- lib/otaku/server.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#log(*msgs) ⇒ Object
57 58 59 |
# File 'lib/otaku/server.rb', line 57 def log(*msgs) Otaku.log(msgs) end |
#process_data(data) ⇒ Object
47 48 49 50 51 52 53 54 55 |
# File 'lib/otaku/server.rb', line 47 def process_data(data) begin Server.handler.process(data) rescue error = DataProcessError.new($!.inspect) log(error.inspect) error end end |