Dynamic Code Execution : eval « Reflection « Ruby






Dynamic Code Execution


puts eval("2 + 2")

 

Related examples in the same category

1.uses strings and interpolation with Dynamic Code Execution
2.Bindings