Module: Replication::Modules::Proofreading

Defined in:
lib/replication/modules/proofreading.rb

Instance Method Summary collapse

Instance Method Details

#replicate(**options) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/replication/modules/proofreading.rb', line 9

def replicate(**options)
  if valid?
    super
  else
    raise Replication::UnwoundError, 'The origin must be valid!'
  end
end

#unwound(**options) ⇒ Object



5
6
7
# File 'lib/replication/modules/proofreading.rb', line 5

def unwound(**options)
  super if valid?
end