README.md in wildcard_matchers-0.0.2 vs README.md in wildcard_matchers-0.0.3
- old
+ new
@@ -31,9 +31,18 @@
* 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
+* is_a_member_of
+ * is_a_member_of(0, 1) === 0 #=> true
+
+### helpers
+* nil_or
+ * nil_or(is_a_string) === nil #=> true
+ * nil_or(is_a_string) === "a" #=> true
+* all
+ * all(is_a_string) === %w[ a b c ] #=> true
## How it works
It is very simple. Recursive match using ===, and Class, Range, and Proc act as wildcard matchers.