Sha256: 25856f9f1e7c8dbe41029aac123297eff51ed74110b093c4d5993567eceb49ca

Contents?: true

Size: 228 Bytes

Versions: 41

Compression:

Stored size: 228 Bytes

Contents

module Redwood

class PersonSearchResultsMode < ThreadIndexMode
  def initialize people
    @people = people
    super [], { :participants => @people }
  end

  def is_relevant? m; @people.any? { |p| m.from == p }; end
end

end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
sup-1.2 lib/sup/modes/person_search_results_mode.rb
sup-1.1 lib/sup/modes/person_search_results_mode.rb
sup-1.0 lib/sup/modes/person_search_results_mode.rb
sup-0.23 lib/sup/modes/person_search_results_mode.rb
sup-0.22.1 lib/sup/modes/person_search_results_mode.rb
sup-0.22.0 lib/sup/modes/person_search_results_mode.rb
sup-0.21.0 lib/sup/modes/person_search_results_mode.rb
sup-0.20.0 lib/sup/modes/person_search_results_mode.rb
sup-0.19.0 lib/sup/modes/person_search_results_mode.rb
sup-0.18.0 lib/sup/modes/person_search_results_mode.rb
sup-0.17.0 lib/sup/modes/person_search_results_mode.rb
sup-0.16.0 lib/sup/modes/person_search_results_mode.rb
sup-0.15.4 lib/sup/modes/person_search_results_mode.rb
sup-0.15.3 lib/sup/modes/person_search_results_mode.rb
sup-0.15.2 lib/sup/modes/person_search_results_mode.rb
sup-0.15.1 lib/sup/modes/person_search_results_mode.rb
sup-0.15.0 lib/sup/modes/person_search_results_mode.rb
sup-0.14.1.1 lib/sup/modes/person_search_results_mode.rb
sup-0.13.2.1 lib/sup/modes/person_search_results_mode.rb
sup-0.14.1 lib/sup/modes/person_search_results_mode.rb