Sha256: aaacd065e8d53f23398a3f5736e7edb4e7bf60c6403a3a595c5fd972bcf6710a

Contents?: true

Size: 279 Bytes

Versions: 29

Compression:

Stored size: 279 Bytes

Contents

class Ppl::Application::Output

  attr_accessor :stdout
  attr_accessor :stderr

  def initialize(stdout, stderr)
    @stdout = stdout
    @stderr = stderr
  end

  def error(string)
    @stderr.puts string
  end

  def line(string)
    @stdout.puts string
    true
  end

end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
ppl-1.2.0 lib/ppl/application/output.rb
ppl-1.1.0 lib/ppl/application/output.rb
ppl-1.0.6 lib/ppl/application/output.rb
ppl-1.0.5 lib/ppl/application/output.rb
ppl-1.0.4 lib/ppl/application/output.rb
ppl-1.0.3 lib/ppl/application/output.rb
ppl-1.0.1 lib/ppl/application/output.rb
ppl-1.0.0 lib/ppl/application/output.rb
ppl-0.9.0 lib/ppl/application/output.rb