Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use define_method instead of class_eval & string.
This will make it easier to introduce a check at invocation time which compares the number of arguments passed into the stubbed method and the "arity" of the original method implementation.
- Loading branch information