Class: SearchResultCollection
- Inherits:
-
Object
- Object
- SearchResultCollection
- Extended by:
- Forwardable
- Defined in:
- app/presenters/search_result_collection.rb
Instance Method Summary collapse
-
#initialize(results) ⇒ SearchResultCollection
constructor
A new instance of SearchResultCollection.
Constructor Details
#initialize(results) ⇒ SearchResultCollection
Returns a new instance of SearchResultCollection.
5 6 7 |
# File 'app/presenters/search_result_collection.rb', line 5 def initialize(results) @results = results end |