Sha256: 8c8f07646b10b4e57487473bb0161fea714c02aa054a76214ac4a4b4b8be3c67
Contents?: true
Size: 401 Bytes
Versions: 10
Compression:
Stored size: 401 Bytes
Contents
class Property::Spamassassin< Property def self.service; SPAMASSASSIN ;end default_scope where(:service => self.service) def self.preference_template(a, locals) a.edit :file => "#{etc_sa}/local.cf" do locals.each do |key, value| delete /^#{key}.*$/ append "#{key} #{value}" end end end protected def self.etc_sa '/etc/spamassassin' end end
Version data entries
10 entries across 10 versions & 1 rubygems