diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-04-23 11:37:38 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-04-23 11:37:38 +0100 |
commit | ca99b0dff974d2fc841d7132d03b3ad1d1bf9b1e (patch) | |
tree | 69f949ec5c8a3396222815eacf9109d516de8c84 /lib/mauve/configuration_builder.rb | |
parent | c3592bdf6fce6f234de37959c677f75d97b1134d (diff) |
People/PeopleLists can now specify individualy notification times/frequencies
* Added PeopleList builder
* Added Person#during, PeopleList#during, Person#every, PeopleList#every
* Notification now uses #during/#every from the Person/PeopleList if nothing
was specified
* Added tests
Diffstat (limited to 'lib/mauve/configuration_builder.rb')
-rw-r--r-- | lib/mauve/configuration_builder.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/mauve/configuration_builder.rb b/lib/mauve/configuration_builder.rb index 1d8d960..3f7138e 100644 --- a/lib/mauve/configuration_builder.rb +++ b/lib/mauve/configuration_builder.rb @@ -35,10 +35,11 @@ module Mauve # @param [Array] list # # @return [Array] the whole people list for label - def people_list(label, *list) - _logger.warn("Duplicate people_list '#{label}'") if @result.people_lists.has_key?(label) - @result.people_lists[label] += list - end + # ef people_list(label, *list) + # _logger.warn("Duplicate people_list '#{label}'") if @result.people_lists.has_key?(label) + # @result.people_lists[label] += list + # end + # Have to use the method _logger here, cos logger is defined as a builder elsewhere. # |