class ShareLock
Ruby on Rails 6.0.6
Since v5.2.8.1A share/exclusive lock, otherwise known as a read/write lock.
Inherits from
Includes
Methods (defined here)
- # exclusive
- # sharing
- # start_exclusive
- # start_sharing
- # stop_exclusive
- # stop_sharing
- # yield_shares
- self. new
Private methods
(4)
Implementation detail — not part of the public API.
Methods (inherited)
From Object (17)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # with_options