+ 3
For sure it has some limita but i dont know... Anyway is bad using eval (like on any other language). I think that exposing the real problem than make you think about evalutation as good solution, is better
+ 2
using eval https://www.rubydoc.info/stdlib/core/Kernel:eval
str= 'i am '
eval "print(str + 'a programmer')"