module CExpect::LoggingReader

Adds logging capability

Public Instance Methods

log(pat, buf) click to toggle source
# File lib/cexpect.rb, line 80
def log(pat, buf)
  return if count_observers.zero?

  changed
  notify_observers(pat, buf)
end