Module: MessageCommand::ProcessLine

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

Instance Method Summary collapse

Instance Method Details

#initialize(msg_command) ⇒ Object



87
88
89
# File 'lib/pipeline_toolkit/message_command.rb', line 87

def initialize(msg_command)
  @msg_command = msg_command
end

#notify_readableObject



91
92
93
# File 'lib/pipeline_toolkit/message_command.rb', line 91

def notify_readable
  @msg_command.process_line($stdin.gets)
end