Allows your classes to do coercion of parameters
A big part of good API design is that we should be able to be flexible in
the ways that we take parameters. Params::Coerce attempts to encourage this,
by making it easier to take a variety of different arguments, while adding
negligible additional complexity to your code.
|0000026566 25.9 KB
|0000004041 3.95 KB