Sha256: 93f9b9f8ba6d3d63a208ad1a88738764f15290353fc75bd220255d56b07508a3
Contents?: true
Size: 458 Bytes
Versions: 2
Compression:
Stored size: 458 Bytes
Contents
require_relative 'line_matcher' module Torkify::Log class LogReader attr_reader :line def initialize(stream) @stream = stream @line = stream.readline end def forward self.line = stream.readline self end def matcher @matcher ||= LineMatcher.new(line) end protected attr_reader :stream attr_writer :line def line=(line) @line = line @matcher = nil end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
torkify-0.0.3 | lib/torkify/log/log_reader.rb |
torkify-0.0.2 | lib/torkify/log/log_reader.rb |