Class: RMuh::RPT::Log::Formatters::UnitedOperationsLog

Inherits:
Base
  • Object
show all
Defined in:
lib/rmuh/rpt/log/formatters/unitedoperationslog.rb

Overview

Formatter for the UnitedOperations Log file

Class Method Summary collapse

Class Method Details

.format(event) ⇒ Object



11
12
13
14
15
# File 'lib/rmuh/rpt/log/formatters/unitedoperationslog.rb', line 11

def format(event)
  return unless [:connect, :disconnect, :beguid, :chat]
    .include?(event[:type])
  send("format_#{event[:type]}".to_sym, event)
end