-
Notifications
You must be signed in to change notification settings - Fork 688
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delegate keyword arguments in Prawn::View#method_missing
Come Ruby 3.x, keyword arguments will not be part of `*arguments` any more. We could either: 1. Mark the method with `ruby2_keywords`, which would make keyword arguments part of `*arguments` again. However, this is going away in the future so it's a crutch if anything. 2. Make the method properly support keyword arguments. Option 2 is chosen here.
- Loading branch information
1 parent
4e8a9c9
commit d7d4a8e
Showing
2 changed files
with
5 additions
and
5 deletions.
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