Flowdock
method

silence_stream

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Kernel

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

These similar methods exist in v6.1.7.7:

silence_stream(stream) public

Deprecated : this method is not thread safe Silences any stream for the duration of the block.

silence_stream(STDOUT) do
  puts 'This will never be seen'
end

puts 'But this will'

This method is not thread-safe.

Show source
Register or log in to add new notes.