Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated the README.

  • Loading branch information...
commit f27f802d5a5ff48036ead36ff9c5b3d28070e03a 1 parent 895653d
@postmodern authored
Showing with 7 additions and 5 deletions.
  1. +7 −5 README.md
View
12 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
@@ -30,21 +30,23 @@ generated by your code, search through them and/or print them upon exit.
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
Please sign in to comment.
Something went wrong with that request. Please try again.