Sha256: 7a25ad3202065e9f2bac7dd5d8768ac42904fbd83dff6889bde0c958805685cc
Contents?: true
Size: 255 Bytes
Versions: 3
Compression:
Stored size: 255 Bytes
Contents
class Kommando; class Stdin def initialize @buffer = [] end def getc @buffer.shift end def <<(string) @buffer << string end def write(string) self << string end def writeln(string) self << string << "\r" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kommando-0.1.2 | lib/kommando/stdin.rb |
kommando-0.1.1 | lib/kommando/stdin.rb |
kommando-0.1.0 | lib/kommando/stdin.rb |