README.md in wildcard_matchers-0.1.0 vs README.md in wildcard_matchers-0.1.1
- old
+ new
@@ -26,10 +26,12 @@
* is_bool === true #=> true
* is_bool === false #=> true
* is_bool === object #=> false
* is_time
* is_time === "2012-05-13" #=> true
+* is_url
+ * is_url(:host => "example.com") === "http://example.com" #=> true
* hash_includes
* hash_includes(:a) === { :a => 1 } #=> true
* hash_includes(:b) === { :a => 1 } #=> false
* hash_includes(:a => Integer) === { :a => 1 } #=> true
* hash_includes(:a => 2) === { :a => 1 } #=> false
@@ -40,9 +42,11 @@
* nil_or
* nil_or(is_a_string) === nil #=> true
* 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
## How it works
It is very simple. Recursive match using ===, and Class, Range, and Proc act as wildcard matchers.