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-0.14.0 lib/sup/modes/person_search_results_mode.rb
sup-0.13.2 lib/sup/modes/person_search_results_mode.rb
sup-0.13.1 lib/sup/modes/person_search_results_mode.rb
sup-0.13.0 lib/sup/modes/person-search-results-mode.rb
sup-0.12.1 lib/sup/modes/person-search-results-mode.rb
sup-0.12 lib/sup/modes/person-search-results-mode.rb
sup-0.11 lib/sup/modes/person-search-results-mode.rb
sup-0.10.2 lib/sup/modes/person-search-results-mode.rb
sup-0.10.1 lib/sup/modes/person-search-results-mode.rb
sup-0.10 lib/sup/modes/person-search-results-mode.rb
sup-0.9.1 lib/sup/modes/person-search-results-mode.rb
sup-0.9 lib/sup/modes/person-search-results-mode.rb
sup-0.8.1 lib/sup/modes/person-search-results-mode.rb
sup-0.1 lib/sup/modes/person-search-results-mode.rb
sup-0.5 lib/sup/modes/person-search-results-mode.rb
sup-0.7 lib/sup/modes/person-search-results-mode.rb
sup-0.2 lib/sup/modes/person-search-results-mode.rb
sup-0.6 lib/sup/modes/person-search-results-mode.rb
sup-0.4 lib/sup/modes/person-search-results-mode.rb
sup-0.3 lib/sup/modes/person-search-results-mode.rb