Module: Lore::Behaviours::Lockable_Entity
- Defined in:
- lib/lore/behaviours/lockable.rb
Overview
module
Instance Method Summary collapse
Instance Method Details
#lock! ⇒ Object
43 44 45 |
# File 'lib/lore/behaviours/lockable.rb', line 43 def lock! self.class.lock!(self) end |
#locked? ⇒ Boolean
49 50 51 |
# File 'lib/lore/behaviours/lockable.rb', line 49 def locked? self.class.locked?(self) end |
#release! ⇒ Object
46 47 48 |
# File 'lib/lore/behaviours/lockable.rb', line 46 def release! self.class.release!(self) end |