Class: Disposable::Twin::Sync::Options

Inherits:
Hash
  • Object
show all
Defined in:
lib/disposable/twin/sync.rb

Instance Method Summary collapse

Instance Method Details

#exclude!(names) ⇒ Object



10
11
12
13
# File 'lib/disposable/twin/sync.rb', line 10

def exclude!(names)
  excludes.push(*names)
  self
end

#excludesObject



15
16
17
# File 'lib/disposable/twin/sync.rb', line 15

def excludes
  self[:exclude] ||= []
end