class Cl::Ui::Base
Attributes
stdout[W]
Public Instance Methods
abort(error, *strs)
click to toggle source
# File lib/cl/ui.rb, line 24 def abort(error, *strs) self.error [error.message, *strs].join("\n\n") exit 1 end
puts(*strs)
click to toggle source
# File lib/cl/ui.rb, line 20 def puts(*strs) stdout.puts(*strs) end
stdout()
click to toggle source
# File lib/cl/ui.rb, line 16 def stdout @stdout ||= opts[:stdout] || $stdout end