diff options
Diffstat (limited to 'lib/mauve/people_list.rb')
-rw-r--r-- | lib/mauve/people_list.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mauve/people_list.rb b/lib/mauve/people_list.rb index 0433034..f632f78 100644 --- a/lib/mauve/people_list.rb +++ b/lib/mauve/people_list.rb @@ -63,9 +63,9 @@ module Mauve # Return the array of people # # @return [Array] - def people + def people(at = Time.now) l = list.collect do |name| - name.is_a?(Proc) ? name.call : name + name.is_a?(Proc) ? name.call(at) : name end.flatten.compact.uniq.collect do |name| Configuration.current.people[name] end.compact |