-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Allows procs with arity 1 to validate and use custom messages (
#2333) * refactor: validate_param! method - now allows a proc to validate and use custom messages - adds @proc_message instance variable - creates the skip_validation? method to pass rubocops cyclomatic error * Adds changelog entry * Adds PR # to the changelog * Properly formats the changelog line * Places the changelog line in the correct order * Adds default changelog message for future use * Edits the changelog with a better description * refactor: allows procs with an arity of 1 * Adds a test for when arity is > 1
- Loading branch information
1 parent
3b7901c
commit d1dfdcc
Showing
3 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters