Class: Ansible::Ruby::Models::Playbook
- Defined in:
- lib/ansible/ruby/models/playbook.rb
Instance Method Summary collapse
Methods inherited from Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#to_h ⇒ Object
14 15 16 17 18 |
# File 'lib/ansible/ruby/models/playbook.rb', line 14 def to_h super_result = super # Don't need to return highest level super_result[:plays] + (super_result[:inclusions] || []) end |