What happens if an exception is raised within an ensure block in Ruby?
A. The exception is handled by an outer rescue block, if present
B. The program terminates with an error message
C. The program continues execution as normal
D. The program enters a loop to retry the operation
Answer: Option A

Join The Discussion