Method: Puppet::Pops::Types::PObjectType#members

Defined in:
lib/puppet/pops/types/p_object_type.rb

#members(include_parent = false) ⇒ Hash{String=>PAnnotatedMember}

Returns the members (attributes and functions) of this Object type. If include_parent is true, then all inherited members will be included in the returned Hash.

Parameters:

  • (defaults to: false)

    true if inherited members should be included

Returns:

  • a hash with the members

API:

  • public



960
961
962
# File 'lib/puppet/pops/types/p_object_type.rb', line 960

def members(include_parent = false)
  get_members(include_parent, :both)
end