Sha256: b5ce853d4dd84dab61216b0bb3c111af5d2cc35ba88e69c8d8f3a17ef4fb3772
Contents?: true
Size: 635 Bytes
Versions: 9
Compression:
Stored size: 635 Bytes
Contents
module Dcgen def self.approvalprocess master , destination 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 puts "ApprovalProcesses:" if not remove_approvalprocess.empty? remove_approvalprocess.each do |approvalprocess| puts " #{approvalprocess}" end remove_approvalprocess end end
Version data entries
9 entries across 9 versions & 1 rubygems