Sha256: a97d141f5ce43d65d4daf5ca9dc98b71ac6f57c1fcc37d1d8646ee47514e8faa
Contents?: true
Size: 680 Bytes
Versions: 3
Compression:
Stored size: 680 Bytes
Contents
module Dcgen def self.approvalprocess master , destination, output = true master_approvalprocess = Dir.glob(master + '/approvalProcesses/*approvalProcess').map {|c| c.match(/^.*\/(.*).approvalProcess$/)[1] } destination_approvalprocess = Dir.glob(destination + '/approvalProcesses/*approvalProcess').map {|c| c.match(/^.*\/(.*).approvalProcess$/)[1] } remove_approvalprocess = destination_approvalprocess - master_approvalprocess if output puts "ApprovalProcesses:" if not remove_approvalprocess.empty? remove_approvalprocess.each do |approvalprocess| puts " #{approvalprocess}" end end remove_approvalprocess end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
salesforce-dcgen-0.8.0 | lib/dcgen/plugins/approvalprocess.rb |
salesforce-dcgen-0.7.0 | lib/dcgen/plugins/approvalprocess.rb |
salesforce-dcgen-0.6.0 | lib/dcgen/plugins/approvalprocess.rb |