Created
June 5, 2016 11:52
-
-
Save codesword/50d671a319492ce47308d50c8291a84d 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
eval("5 + 10") #=> 15 | |
eval("def name; 'Ikem Okonkwo'; end;") # creates a method called name | |
name #=> "Ikem Okonkwo" calls the method created by eval |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment