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:

  • include_parent (Boolean) (defaults to: false)

    ‘true` if inherited members should be included

Returns:



938
939
940
# File 'lib/puppet/pops/types/p_object_type.rb', line 938

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