Class: VagrantPlugins::AnsibleInventory::Configs::Ansible
- Inherits:
-
Object
- Object
- VagrantPlugins::AnsibleInventory::Configs::Ansible
- Defined in:
- lib/vagrant/ansible_inventory/configs/ansible.rb
Instance Attribute Summary collapse
-
#groups ⇒ Object
Returns the value of attribute groups.
Instance Method Summary collapse
- #finalize! ⇒ Object
-
#initialize ⇒ Ansible
constructor
A new instance of Ansible.
Constructor Details
#initialize ⇒ Ansible
Returns a new instance of Ansible.
8 9 10 |
# File 'lib/vagrant/ansible_inventory/configs/ansible.rb', line 8 def initialize @groups = UNSET_VALUE end |
Instance Attribute Details
#groups ⇒ Object
Returns the value of attribute groups.
6 7 8 |
# File 'lib/vagrant/ansible_inventory/configs/ansible.rb', line 6 def groups @groups end |
Instance Method Details
#finalize! ⇒ Object
12 13 14 |
# File 'lib/vagrant/ansible_inventory/configs/ansible.rb', line 12 def finalize! @groups = {} if @groups == UNSET_VALUE end |