instance method
quietly
Ruby on Rails 4.0.13
Since v3.1.12 Last seen in v4.2.9Signature
quietly()
Silences both STDOUT and STDERR, even for subprocesses.
quietly { system 'bundle install' }
This method is not thread-safe.
Source
# File activesupport/lib/active_support/core_ext/kernel/reporting.rb, line 107
def quietly
silence_stream(STDOUT) do
silence_stream(STDERR) do
yield
end
end
end
Defined in activesupport/lib/active_support/core_ext/kernel/reporting.rb line 107
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Kernel