lib/movie_quotes.rb in movie_quotes-0.0.2 vs lib/movie_quotes.rb in movie_quotes-0.0.3

- old
+ new

@@ -62,9 +62,15 @@ apply_filter "page", page self end + def by_rating(rating) + apply_filter "rating", rating + + self + end + # 1999 | [1999, 2005] | ["1999", "2005"] def by_year(query) apply_filter_list "years", query self