Passing a variable or interpolated string to eval executes arbitrary Ruby code.
Avoid eval on dynamic input; use a safe dispatch table or whitelist of allowed operations.