# File lib/puppet/transaction.rb, line 627 627: def targeted?(resource) 628: # The default value is a new array so we have to test the length of it. 629: @targets.include?(resource) and @targets[resource].length > 0 630: end