Sha256: 6aa0506d89b1f7fa7fecdbdcd820883b5f43cc5067593cbdab92604dab4a51e6
Contents?: true
Size: 342 Bytes
Versions: 10
Compression:
Stored size: 342 Bytes
Contents
require 'tailstrom/tail_reader' module Tailstrom module Command class Print def initialize(options) @infile = $stdin @options = options end def run reader = TailReader.new @infile, @options reader.each_line do |line| puts line[:line] end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems