class Dapp::Dapp::Shellout::Streaming::Stream

Public Instance Methods

<<(string) click to toggle source
# File lib/dapp/dapp/shellout/streaming.rb, line 10
def <<(string)
  buffer << string
end
buffer() click to toggle source
# File lib/dapp/dapp/shellout/streaming.rb, line 6
def buffer
  @buffer ||= []
end
show() click to toggle source
# File lib/dapp/dapp/shellout/streaming.rb, line 14
def show
  buffer.join.strip
end