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