Sha256: 1682f9aa817154ec553b569276f20616e5abee2e620d558a52861a66a8d99c02
Contents?: true
Size: 477 Bytes
Versions: 3
Compression:
Stored size: 477 Bytes
Contents
module Backport module Server # A Backport STDIO server. # class Stdio < Base include Connectable def initialize input: STDIN, output: STDOUT, adapter: Adapter @in = input @out = output @out.binmode @adapter = adapter clients.push Client.new(input, output, adapter) clients.last.add_observer self end def update client client.tick end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
backport-1.1.2 | lib/backport/server/stdio.rb |
backport-1.1.1 | lib/backport/server/stdio.rb |
backport-1.1.0 | lib/backport/server/stdio.rb |