Method: Puppet::Pops::Types::RecursionGuard#recursive_that?
- Defined in:
- lib/puppet/pops/types/recursion_guard.rb
#recursive_that?(instance) ⇒ Integer
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.
Checks if recursion was detected for the given argument in the ‘that’ context
33 34 35 |
# File 'lib/puppet/pops/types/recursion_guard.rb', line 33 def recursive_that?(instance) instance_variable_defined?(:@recursive_that_map) && @recursive_that_map.has_key?(instance.object_id) end |