-
-
Save exts/96858422e1f83cca6aa7a4e157a07f29 to your computer and use it in GitHub Desktop.
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
def takes_hash(h) | |
puts h | |
end | |
takes_hash({"test" => "hash"}) | |
# takes_hash {"test" => "hash"} # => Syntax error in t.cr:6: unexpected token: => takes_hash {"test" => "hash"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment