Method: Puppet::Pops::Types::RecursionGuard#that_count

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

#that_countObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the number of objects added to the ‘that` map.

Returns:

  • the number of objects added to the ‘that` map



103
104
105
# File 'lib/puppet/pops/types/recursion_guard.rb', line 103

def that_count
  instance_variable_defined?(:@that_map) ? @that_map.size : 0
end