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, #initialize, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#to_h ⇒ Object
12 13 14 15 16 |
# File 'lib/ansible/ruby/models/playbook.rb', line 12 def to_h super_result = super # Don't need to return highest level super_result[:plays] + (super_result[:inclusions] || []) end |