silence_stream(stream)
Instance Public methods
Silences any stream for the duration of the block.
1 2 3 4 5 | silence_stream( STDOUT ) do puts 'This will never be seen' end puts 'But this will' |
Silences any stream for the duration of the block.
1 2 3 4 5 | silence_stream( STDOUT ) do puts 'This will never be seen' end puts 'But this will' |
Designed by : w10schools
service@w10schools.com
Please login to continue.