Permalink
Browse files

Update lib/timeline_fu/fires.rb

  • Loading branch information...
1 parent 45b6953 commit 9fa6f213d0a96a0f7ddc28b521174197e005c29c @volodymyr-vasylyshyn committed Dec 19, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/timeline_fu/fires.rb
View
@@ -13,6 +13,10 @@ def fires(event_type, opts)
opts[:on].each { |on| fires(event_type, opts.merge({:on => on})) }
return
end
+ if opts[:actor].kind_of?(Array)
+ opts[:actor].each { |actor| fires(event_type, opts.merge({:actor => actor})) }
+ return
+ end
opts[:subject] = :self unless opts.has_key?(:subject)

0 comments on commit 9fa6f21

Please sign in to comment.