-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make
Literal::Array#push
accept multiple values
The current implementation of `#push` was only allowing for one value to be passed in, but if the goal is to match ruby's functionality, then it should accept multiple. We also want to ensure that we perform the right type checking logic for both scenarios.
- Loading branch information
1 parent
216dd5b
commit fbd5c57
Showing
2 changed files
with
28 additions
and
4 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