Validating arguments using decorators

Hey there!

I’d love it if you could have a look at my Generic argument validation decorator if you’ve got some time. It’s already got four to five tests and serves my needs pretty well, but I’d like to know if this needs to be generalized more or it’s enough for others as well.

Cheers!

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s