instance method
with_signal_handler
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
with_signal_handler(signal)
No documentation comment.
Parameters
-
signalreq
Source
# File railties/lib/fcgi_handler.rb, line 149
def with_signal_handler(signal)
install_signal_handler(signal)
yield
ensure
install_signal_handler(signal, 'DEFAULT')
end
Defined in railties/lib/fcgi_handler.rb line 149
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in RailsFCGIHandler