Module: MessageCommand::ProcessLine

Includes:
DefaultLogger
Defined in:
lib/pipeline_toolkit/message_command.rb

Instance Method Summary collapse

Methods included from DefaultLogger

#log, #syslog_name

Instance Method Details

#initialize(msg_command) ⇒ Object



95
96
97
# File 'lib/pipeline_toolkit/message_command.rb', line 95

def initialize(msg_command)
  @msg_command = msg_command
end

#notify_readableObject



99
100
101
# File 'lib/pipeline_toolkit/message_command.rb', line 99

def notify_readable
  @msg_command.process_line(@io.gets)
end