Templates are used to match tuples in Rinda.
| Public Methods | |
|---|---|
| === | Alias for #match. |
| match | Matches this template against tuple. The tuple must be the same size as the template. An element with a nil value in a template acts as a wildcard, matching any value in the corresponding position in the tuple. Elements of the template match the tuple if the are #== or #===. |
<code/>and<pre/>for code samples.