Class: UnixConsoleClearingOutput
- Inherits:
-
Object
- Object
- UnixConsoleClearingOutput
- Defined in:
- lib/outputs/unix_console_clearing_output.rb
Instance Method Summary collapse
- #add_result(result) ⇒ Object
-
#initialize ⇒ UnixConsoleClearingOutput
constructor
A new instance of UnixConsoleClearingOutput.
- #start_run ⇒ Object
Constructor Details
#initialize ⇒ UnixConsoleClearingOutput
Returns a new instance of UnixConsoleClearingOutput.
3 4 |
# File 'lib/outputs/unix_console_clearing_output.rb', line 3 def initialize end |
Instance Method Details
#add_result(result) ⇒ Object
10 11 |
# File 'lib/outputs/unix_console_clearing_output.rb', line 10 def add_result(result) end |
#start_run ⇒ Object
6 7 8 |
# File 'lib/outputs/unix_console_clearing_output.rb', line 6 def start_run system 'clear' end |