Tag Archives: dangerous code

The Controversial Eval Function

eval is a function in Ruby that allows you to execute arbitrary code. You pass in a string containing code, and voila! It’s very useful, for things like holding pointers of a sort to functions; but it’s also dangerous, because script-kiddies can format your hard-drive. So what’s the middle-path use-case of eval? Continue reading

Posted in Development | Tagged , , | 2 Comments