Class: Ansible::Ruby::Models::Playbook

Inherits:
Base
  • Object
show all
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_hObject



10
11
12
13
# File 'lib/ansible/ruby/models/playbook.rb', line 10

def to_h
  # Don't need to return highest level
  super[:plays]
end