Class: VagrantPlugins::RsyncOnlyChanged::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::RsyncOnlyChanged::Config
- Defined in:
- lib/vagrant-rsync-only-changed/config.rb
Instance Attribute Summary collapse
-
#rsync_on_startup ⇒ Object
Returns the value of attribute rsync_on_startup.
Instance Method Summary collapse
- #finalize! ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 |
# File 'lib/vagrant-rsync-only-changed/config.rb', line 8 def initialize @rsync_on_startup = UNSET_VALUE end |
Instance Attribute Details
#rsync_on_startup ⇒ Object
Returns the value of attribute rsync_on_startup.
6 7 8 |
# File 'lib/vagrant-rsync-only-changed/config.rb', line 6 def rsync_on_startup @rsync_on_startup end |
Instance Method Details
#finalize! ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/vagrant-rsync-only-changed/config.rb', line 12 def finalize! if @rsync_on_startup == UNSET_VALUE @rsync_on_startup = false else @rsync_on_startup = !!@rsync_on_startup end end |