Create a gist now

Instantly share code, notes, and snippets.

Block
should return from the closure
should ignore extra arguments
should not care if not enough parameters are passed
should set unpassed parameters to `nil`
should accept *args
Lambda
should return from the lambda
should whine about too many arguments
should whine about too few arguments
should accept *args
should be a lambda
Proc
should return from the closure
should ignore extra arguments
should not care if not enough parameters are passed
should set unpassed parameters to `nil`
should accept *args
should not be a lambda
should be a proc when `proc` is used
Stabby
should return from the stabby
should whine about too many arguments
should whine about too few arguments
should accept *args
should be a lambda
Finished in 0.01227 seconds
22 examples, 0 failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment