Method: Puppet::Pops::Types::RecursionGuard#this_count
- Defined in:
- lib/puppet/pops/types/recursion_guard.rb
#this_count ⇒ Object
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 ‘this` map.
98 99 100 |
# File 'lib/puppet/pops/types/recursion_guard.rb', line 98 def this_count instance_variable_defined?(:@this_map) ? @this_map.size : 0 end |