Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
6 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
fails:Hash.try_convert returns the argument if it's a Hash | ||
fails:Hash.try_convert returns the argument if it's a kind of Hash | ||
fails:Hash.try_convert returns nil when the argument does not respond to #to_hash | ||
fails:Hash.try_convert sends #to_hash to the argument and returns the result if it's nil | ||
fails:Hash.try_convert sends #to_hash to the argument and returns the result if it's a Hash | ||
fails:Hash.try_convert sends #to_hash to the argument and returns the result if it's a kind of Hash | ||
fails:Hash.try_convert sends #to_hash to the argument and raises TypeError if it's not a kind of Hash | ||
fails:Hash.try_convert does not rescue exceptions raised by #to_hash |
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