Class: Copyable::Declarations::AfterCopy
- Inherits:
-
Declaration
- Object
- Declaration
- Copyable::Declarations::AfterCopy
- Defined in:
- lib/copyable/declarations/after_copy.rb
Class Method Summary collapse
Methods inherited from Declaration
Class Method Details
.execute(after_copy_block, original_model, new_model) ⇒ Object
5 6 7 |
# File 'lib/copyable/declarations/after_copy.rb', line 5 def self.execute(after_copy_block, original_model, new_model) after_copy_block.call(original_model, new_model) if after_copy_block end |
.required? ⇒ Boolean
9 10 11 |
# File 'lib/copyable/declarations/after_copy.rb', line 9 def self.required? false end |