Class: Property::Spamassassin
- Defined in:
- app/models/property/spamassassin.rb
Instance Attribute Summary
Attributes inherited from Property
#collection, #multiple, #translate
Class Method Summary collapse
Methods inherited from Property
add, all_new_values, all_new_values_for_write, all_to_show, #has_new_value?, #input_type, #set_value
Class Method Details
.preference_template(a, locals) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'app/models/property/spamassassin.rb', line 8 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 |
.service ⇒ Object
3 |
# File 'app/models/property/spamassassin.rb', line 3 def self.service; SPAMASSASSIN ;end |