one line to print the statement AS WELL AS the evaluated value like in C

i wonder in Ruby, is there a line method to do something like in C

print_val(“Array[3] + 1”)

and get the printout of

Array[3] + 1 is 3.345