Class: VagrantPlugins::Fsnotify::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-fsnotify/config-fsnotify.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



20
21
22
# File 'lib/vagrant-fsnotify/config-fsnotify.rb', line 20

def initialize
  @touch = UNSET_VALUE
end

Instance Attribute Details

#touchObject

Returns the value of attribute touch.



18
19
20
# File 'lib/vagrant-fsnotify/config-fsnotify.rb', line 18

def touch
  @touch
end

Instance Method Details

#finalize!Object



24
25
26
# File 'lib/vagrant-fsnotify/config-fsnotify.rb', line 24

def finalize!
  @touch = [:modification, :access] if @touch == UNSET_VALUE
end