Why not inline this into the `skip?` method? That method already duplicates the logic that is here because it constructs a message based on what the reason for the skip was. If it were inlined and the individual cases enumerated, then the message would be able to be written without the logic and and enumeration of when to skip would be much clearer.

````
elsif resource.appliable_to_host? && for_network_device
  resource.debug "Skipping host resources because running on a device"
elsif resource.appliable_to_device? && !for_network_device
  resource.debug "Skipping device resources because running on a host"
````