Module: Console
- Defined in:
- lib/teodoro/console.rb
Class Method Summary collapse
Class Method Details
.print(string) ⇒ Object
2 3 4 5 6 |
# File 'lib/teodoro/console.rb', line 2 def self.print(string) Kernel.print "\r\e[2K#{string}" yield Kernel.print "\r\e[2K" end |