From f27f802d5a5ff48036ead36ff9c5b3d28070e03a Mon Sep 17 00:00:00 2001 From: Postmodern Date: Fri, 24 Jun 2011 16:59:50 -0700 Subject: [PATCH] Updated the README. --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6d4d5af..da184e8 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ generated by your code, search through them and/or print them upon exit. * Respects `$VERBOSE` (`ruby -w`) and `$DEBUG` (`ruby -d`) * Search Warning Messages by: + * Message * Source File * Source Method - * Message -* Prints Messages upon exit. +* Prints unique Warning messages upon exit. * ANSI Coloring. ## Examples @@ -29,22 +29,24 @@ generated by your code, search through them and/or print them upon exit. warn "Fire in the disco!" end + danger! danger! Warnings.grep(/fire/) # => [...] - Warnings.from_method('danger!') + Warnings.from('foo/bar.rb') # => [...] - Warnings.from_file('foo/bar.rb') + Warnings.from_method('danger!') # => [...] exit # # Warnings: # - # fire in the disco! lib/foo/bar.rb:42 + # fire in the disco! + # lib/foo/bar.rb:42 ## Requirements