Sha256: d5bff8cde1b350fbe4c3910f0b62b425d8d7887f23e6f32e423df7e443cea79e
Contents?: true
Size: 596 Bytes
Versions: 9
Compression:
Stored size: 596 Bytes
Contents
module Dcgen def self.permissionset master , destination master_permissionset = Dir.glob(master + '/permissionsets/*permissionset').map {|c| c.match(/^.*\/(.*).permissionset$/)[1] } destination_permissionset = Dir.glob(destination + '/permissionsets/*permissionset').map {|c| c.match(/^.*\/(.*).permissionset$/)[1] } remove_permissionset = destination_permissionset - master_permissionset puts "PermissionSets:" if not remove_permissionset.empty? remove_permissionset.each do |permissionset| puts " #{permissionset}" end remove_permissionset end end
Version data entries
9 entries across 9 versions & 1 rubygems