Sha256: bf59c1a9abd40c92907cbc8dc5ea10074f5adc198eaf56c5f78ac1339b11e628
Contents?: true
Size: 266 Bytes
Versions: 26
Compression:
Stored size: 266 Bytes
Contents
module ForemanOpenscap module InheritedPolicies def find_inherited_policies(policy_attr) return [] unless parent ancestors.reduce([]) do |policies, hostgroup| policies += hostgroup.public_send(policy_attr) end.uniq end end end
Version data entries
26 entries across 26 versions & 1 rubygems