Class: NauktisUtils::Duplicate::HandlingStrategy::BaseHandlingStrategy

Inherits:
Object
  • Object
show all
Defined in:
lib/nauktis_utils/duplicate.rb

Direct Known Subclasses

KeepOne, NoDeleteIn, OnlyDeleteIn

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deleting_strategy) ⇒ BaseHandlingStrategy

Returns a new instance of BaseHandlingStrategy.



25
26
27
# File 'lib/nauktis_utils/duplicate.rb', line 25

def initialize(deleting_strategy)
  @deleting_strategy = deleting_strategy
end

Instance Attribute Details

#deleting_strategyObject

Returns the value of attribute deleting_strategy.



24
25
26
# File 'lib/nauktis_utils/duplicate.rb', line 24

def deleting_strategy
  @deleting_strategy
end