README.md in wildcard_matchers-0.1.5 vs README.md in wildcard_matchers-0.1.6

- old
+ new

@@ -1,6 +1,6 @@ -# wildcard_matchers [![Build Status](https://secure.travis-ci.org/okitan/wildcard_matchers.png?branch=master)](http://travis-ci.org/okitan/wildcard_matchers) [![Dependency Status](https://gemnasium.com/okitan/wildcard_matchers.png)](https://gemnasium.com/okitan/wildcard_matchers) +# wildcard_matchers [![Build Status](https://secure.travis-ci.org/okitan/wildcard_matchers.png?branch=master)](http://travis-ci.org/okitan/wildcard_matchers) [![Dependency Status](https://gemnasium.com/okitan/wildcard_matchers.png)](https://gemnasium.com/okitan/wildcard_matchers) [![Coverage Status](https://coveralls.io/repos/okitan/wildcard_matchers/badge.png?branch=master)](https://coveralls.io/r/okitan/wildcard_matchers) ## General Usage ```ruby require "wildcard_matchers" @@ -49,9 +49,11 @@ * nil_or(is_a_string) === "a" #=> true * for_all * for_all(is_a_string) === %w[ a b c ] #=> true * for_any * for_any(is_a_string) === [ 1, "1" ] #=> true +* responding + * responding(next: 2) === 1 #=> true (because 1.next #=> 2) ## How it works It is very simple. Recursive match using ===, and Class, Range, and Proc act as wildcard matchers.