Class: Cl::Ui::Test

Inherits:
Base
  • Object
show all
Defined in:
lib/cl/ui.rb

Instance Attribute Summary

Attributes inherited from Base

#opts

Instance Method Summary collapse

Methods inherited from Base

#puts

Instance Method Details

#abort(error, *strs) ⇒ Object



47
48
49
# File 'lib/cl/ui.rb', line 47

def abort(error, *strs)
  raise error
end

#stdoutObject



43
44
45
# File 'lib/cl/ui.rb', line 43

def stdout
  @stdout ||= StringIO.new
end