instance method
with_lock_if_stopping
Ruby on Rails 2.7.0
Since v1.9.3 Last seen in v2.11.0 PrivateSignature
with_lock_if_stopping()
No documentation comment.
Source
# File lib/kamal/cli/app.rb, line 389
def with_lock_if_stopping
if options[:stop]
with_lock { yield }
else
yield
end
end
Defined in lib/kamal/cli/app.rb line 389
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Kamal::Cli::App