class CW::Print::ProgressPrint
Public Instance Methods
colour()
click to toggle source
# File lib/cw/print.rb, line 10 def colour :yellow end
flush()
click to toggle source
# File lib/cw/print.rb, line 21 def flush STDOUT.flush end
print(x)
click to toggle source
# File lib/cw/print.rb, line 14 def print x STDOUT.print Paint[x, colour] end
puts(x)
click to toggle source
# File lib/cw/print.rb, line 17 def puts x STDOUT.puts Paint[x, colour] end
tty?()
click to toggle source
# File lib/cw/print.rb, line 25 def tty? true end