Sha256: 5a3a896b9d655bdc62be52d90c551db527a51d66289755929bdc954ffec713df
Contents?: true
Size: 512 Bytes
Versions: 4
Compression:
Stored size: 512 Bytes
Contents
module Dcgen def self.apextrigger master , destination master_triggers = Dir.glob(master + '/triggers/*trigger').map {|c| c.match(/^.*\/(.*).trigger$/)[1] } destination_triggers = Dir.glob(destination + '/triggers/*trigger').map {|c| c.match(/^.*\/(.*).trigger$/)[1] } remove_triggers = destination_triggers - master_triggers puts "ApexTriggers:" if not remove_triggers.empty? remove_triggers.each do |apextrigger| puts " #{apextrigger}" end remove_triggers end end
Version data entries
4 entries across 4 versions & 1 rubygems