Class: Copyable::SingleCopyEnforcer
- Inherits:
-
Object
- Object
- Copyable::SingleCopyEnforcer
- Defined in:
- lib/copyable/single_copy_enforcer.rb
Class Method Summary collapse
Class Method Details
.can_copy?(record) ⇒ Boolean
64 65 66 |
# File 'lib/copyable/single_copy_enforcer.rb', line 64 def self.can_copy?(record) !CopyRegistry.already_copied?(record: record) end |