Created
August 5, 2013 20:51
-
-
Save marciojrtorres/6159513 to your computer and use it in GitHub Desktop.
Tipagem Segura na linguagem Ruby
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
a = 1 | |
b = "a" | |
c = a + b | |
TypeError: String can't be coerced into Fixnum | |
from (irb):5:in `+' | |
from (irb):5 | |
from : |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment