Class: VagrantPuppetconf::Config
- Inherits:
-
Vagrant::Config::Base
- Object
- Vagrant::Config::Base
- VagrantPuppetconf::Config
- Defined in:
- lib/vagrant-puppetconf/config.rb
Instance Attribute Summary collapse
-
#update_only ⇒ Object
Returns the value of attribute update_only.
-
#updates ⇒ Object
Returns the value of attribute updates.
Instance Method Summary collapse
Instance Attribute Details
#update_only ⇒ Object
Returns the value of attribute update_only.
4 5 6 |
# File 'lib/vagrant-puppetconf/config.rb', line 4 def update_only @update_only end |
#updates ⇒ Object
Returns the value of attribute updates.
3 4 5 |
# File 'lib/vagrant-puppetconf/config.rb', line 3 def updates @updates end |
Instance Method Details
#validate(env, errors) ⇒ Object
10 11 12 |
# File 'lib/vagrant-puppetconf/config.rb', line 10 def validate(env, errors) errors.add("Updates should be passed as a hash") unless updates.kind_of? Hash end |