Module: Doppel::ActsAsDoppel

Extended by:
ActiveSupport::Concern
Defined in:
lib/doppel/acts_as_doppel.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.merge_default_options(options = {}) ⇒ Object



45
46
47
48
49
50
# File 'lib/doppel/acts_as_doppel.rb', line 45

def self.merge_default_options(options = {})
  {
    sensitivity: 2,
    count: 0
  }.merge(options)
end